1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.8 1995-06-25 10:53:56 quinn Exp $
7 INCLUDE=-I../include -I. -I../../xtimosi/src
10 CFLAGS= -g -Wall -pedantic -ansi
11 DEFS=$(INCLUDE) # -DTRACE_TRANSPORT
12 LIB=$(LIBDIR)/librfc.a
14 PO = rfct.o makensap.o
18 all: $(LIBDIR) $(INCDIR) $(LIB)
21 $(CC) $(CFLAGS) $(LIBINCLUDE) -o test test.o $(LIBS)
34 $(CC) -c $(DEFS) $(CFLAGS) $<
37 rm -f *.[oa] test core mon.out gmon.out errlist
42 sed '/^#Depend/q' <Makefile >Makefile.tmp
43 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
44 mv -f Makefile.tmp Makefile
47 $(CPP) $(INCLUDE) -M *.c >.depend
49 ifeq (.depend,$(wildcard .depend))
53 #Depend --- DOT NOT DELETE THIS LINE