1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.5 1995-05-30 10:25:46 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
17 all: $(LIBDIR) $(INCDIR) $(LIB)
20 $(CC) $(CFLAGS) $(LIBINCLUDE) -o test test.o $(LIBS)
33 $(CC) -c $(DEFS) $(CFLAGS) $<
36 rm -f *.[oa] test core mon.out gmon.out errlist
41 sed '/^#Depend/q' <Makefile >Makefile.tmp
42 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
43 mv -f Makefile.tmp Makefile
46 $(CPP) $(INCLUDE) -M *.c >.depend
48 ifeq (.depend,$(wildcard .depend))
52 #Depend --- DOT NOT DELETE THIS LINE