1 CFLAGS = -DOPSYS_LINUX 2 CC = gcc 3 4 OBJS = \ 5 cpost.o\ 6 cpostp1.o\ 7 cpostp2.o\ 8 cpostutl.o\ 9 cpostpar.o\ 10 ctok.o\ 11 parsearg.o\ 12 list.o\ 13 hash.o\ 14 tokfile.o 15 16 cpost: $(OBJS) 17 gcc -o cpost $(OBJS) 18 19 cpost.o : cpost.h ctok.h tokfile.h parsearg.h cposthdr.h 20 cpostp1.o : cpost.h ctok.h 21 cpostp2.o : cpost.h ctok.h 22 cpostutl.o : cpost.h ctok.h tokfile.h 23 cpostpar.o : cpost.h ctok.h 24 ctok.o : ctok.h 25 parsearg.o : parsearg.h 26 list.o : list.h 27 hash.o : hash.h 28 tokfile.o : tokfile.h 29 30 31 clean: 32 rm $(OBJS) 33 rm cpost