X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2FMakefile;h=35fbb97aa9e743f29380a486467bee96540ad800;hb=6010055c7c877f5d15894fe6809b74281cedfafa;hp=9390fd1a8ae26b227312dd955833bd1828a9f9ae;hpb=750070059130d917d3252314c1ce3161f0a2e91f;p=egate.git diff --git a/util/Makefile b/util/Makefile index 9390fd1..35fbb97 100644 --- a/util/Makefile +++ b/util/Makefile @@ -2,7 +2,19 @@ # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.12 1995/03/28 16:07:06 adam +# Revision 1.16 1995/11/10 10:19:48 adam +# Test programs not build on 'make all'. +# +# Revision 1.15 1995/05/01 12:43:55 adam +# lgets function moved from kernel to util. +# +# Revision 1.14 1995/04/17 09:36:32 adam +# ttyemit moved from kernel directory. +# +# Revision 1.13 1995/03/29 11:44:29 adam +# New functions: iso2709_a_.. for record manipulation. +# +# Revision 1.12 1995/03/28 16:07:06 adam # New function: iso2709_out. This function is the reverse of iso2709_cvt. # # Revision 1.11 1995/03/28 11:42:41 adam @@ -44,11 +56,12 @@ INCLUDE=-I../include TPROG1=iso2709dump TPROG2=gwdbtest LIB=../lib/util.a -PO=iso2709.o iso27dis.o iso2709o.o gw-db.o gip.o gips.o gipc.o strqueue.o +PO=iso2709.o iso27dis.o iso2709o.o iso2709a.o strqueue.o \ + gw-db.o gip.o gips.o gipc.o ttyemit.o lgets.o CPP=$(CC) -E DEFS=$(INCLUDE) -DSTUPID_ISO_DBC=1 -all: $(TPROG1) $(TPROG2) +all: $(TPROG1) $(TPROG1): $(TPROG1).o $(LIB) $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) @@ -70,14 +83,14 @@ clean: depend: depend2 depend1: - mv Makefile Makefile.tmp - sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile - -rm Makefile.tmp + sed '/^#Depend/q' Makefile.tmp + $(CPP) $(DEFS) -M *.c >>Makefile.tmp + mv -f Makefile.tmp Makefile depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(DEFS) -M *.c >.depend +#GNU make style depend ifeq (.depend,$(wildcard .depend)) include .depend endif