31
32 $(ROOTDIR)/lib/%: %
33 $(INS.file)
34
35 sgsmsg: $(SGSMSG_OBJS)
36 $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) \
37 -o $@ $(SGSMSG_OBJS)
38
39 sgsmsg.o: ../common/sgsmsg.c
40 $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c ../common/sgsmsg.c
41
42 string_table.o: ../common/string_table.c
43 $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c \
44 ../common/string_table.c
45
46 avl.o: $(VAR_AVLDIR)/avl.c
47 $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c \
48 $(VAR_AVLDIR)/avl.c
49
50 piglatin: ../common/piglatin.c
51 $(NATIVECC) $(NATIVE_CFLAGS) -o $@ ../common/piglatin.c
52
53 %: %.o
54 $(LINK.c) -o $@ $< $(LDLIBS)
55 $(POST_PROCESS)
56
57 %.o: ../common/%.c
58 $(COMPILE.c) -o $@ $<
59 $(POST_PROCESS_O)
60
61 catalog: sgsmsg
62
63 clobber: clean
64 $(RM) $(PROGS) $(NATIVE) $(CLOBBERFILES)
65
66 clean:
67 $(RM) $(OBJECTS) $(CLEANFILES)
68
69 lint:
70 @ echo "piglatin.c:" >> $(LINTOUT)
71 $(LINT.c) ../common/piglatin.c -lc >> $(LINTOUT) 2>&1
|
31
32 $(ROOTDIR)/lib/%: %
33 $(INS.file)
34
35 sgsmsg: $(SGSMSG_OBJS)
36 $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) \
37 -o $@ $(SGSMSG_OBJS)
38
39 sgsmsg.o: ../common/sgsmsg.c
40 $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c ../common/sgsmsg.c
41
42 string_table.o: ../common/string_table.c
43 $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c \
44 ../common/string_table.c
45
46 avl.o: $(VAR_AVLDIR)/avl.c
47 $(NATIVECC) $(DEBUG) $(NATIVE_CFLAGS) -c \
48 $(VAR_AVLDIR)/avl.c
49
50 piglatin: ../common/piglatin.c
51 $(NATIVECC) $(NATIVECC_CFLAGS) $(NATIVE_LDFLAGS) -o $@ ../common/piglatin.c
52
53 %: %.o
54 $(LINK.c) -o $@ $< $(LDLIBS)
55 $(POST_PROCESS)
56
57 %.o: ../common/%.c
58 $(COMPILE.c) -o $@ $<
59 $(POST_PROCESS_O)
60
61 catalog: sgsmsg
62
63 clobber: clean
64 $(RM) $(PROGS) $(NATIVE) $(CLOBBERFILES)
65
66 clean:
67 $(RM) $(OBJECTS) $(CLEANFILES)
68
69 lint:
70 @ echo "piglatin.c:" >> $(LINTOUT)
71 $(LINT.c) ../common/piglatin.c -lc >> $(LINTOUT) 2>&1
|