1 # Copyright (C) 1995, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.3 1995-09-01 14:06:35 adam Exp $
10 O = main.o dir.o trav.o extract.o
15 $(TPROG1): $(O) ../lib/dict.a ../lib/bfile.a ../lib/util.a
16 $(CC) $(CFLAGS) -o $(TPROG1) $(O) ../lib/dict.a ../lib/bfile.a ../lib/util.a
19 $(CC) -c $(DEFS) $(CFLAGS) $<
22 rm -f *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist
29 mv Makefile Makefile.tmp
30 sed '/^#Depend/q' <Makefile.tmp >Makefile
31 $(CPP) $(INCLUDE) -M *.c >>Makefile
35 $(CPP) $(INCLUDE) -M *.c >.depend
37 ifeq (.depend,$(wildcard .depend))
41 #Depend --- DOT NOT DELETE THIS LINE