1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.15 1994-10-04 17:47:09 adam Exp $
9 CFLAGS=-g -Wall -pedantic
12 PO = options.o xmalloc.o log.o res.o alexpath.o common.o
17 alll: opt-test res-test all
19 opt-test: opt-test.o $(LIB)
20 $(CC) -o opt-test opt-test.o $(LIB)
22 res-test: res-test.o $(LIB)
23 $(CC) -o res-test res-test.o $(LIB)
31 $(CC) -c $(DEFS) $(CFLAGS) $<
34 rm -f *.[oa] opt-test res-test core mon.out gmon.out errlist
39 mv Makefile Makefile.tmp
40 sed '/^#Depend/q' <Makefile.tmp >Makefile
41 $(CPP) $(INCLUDE) -M *.c >>Makefile
45 $(CPP) $(INCLUDE) -M *.c >.depend
47 ifeq (.depend,$(wildcard .depend))
51 #Depend --- DOT NOT DELETE THIS LINE