1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.10 1998-02-11 11:53:35 adam Exp $
7 INCLUDE=-I../include -I. -I../../xtimosi/src
10 DEFS=$(INCLUDE) # -DTRACE_TRANSPORT
11 LIB=$(LIBDIR)/librfc.a
13 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