* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-0.99 / ipc / Makefile
bloba3a18a7aee287fab4e8a41bf522d4be60add1933
2 # Makefile for the linux ipc.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definition is now in the main makefile...
10 .c.o:
11 $(CC) $(CFLAGS) -c $<
12 .s.o:
13 $(AS) -o $*.o $<
14 .c.s:
15 $(CC) $(CFLAGS) -S $<
17 OBJS = util.o
18 SRCS = util.c
20 ifdef CONFIG_SYSVIPC
21 OBJS := $(OBJS) msg.o sem.o shm.o
22 SRCS := $(SRCS) msg.c sem.c shm.c
23 endif
25 ipc.o: $(OBJS)
26 $(LD) -r -o ipc.o $(OBJS)
28 dep:
29 $(CPP) -M $(SRCS) > .depend
31 dummy:
34 # include a dependency file if one exists
36 ifeq (.depend,$(wildcard .depend))
37 include .depend
38 endif