X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=res%2Blog%2FMakefile;h=6190dc151a6261d09a1fb449f985bdfec0f8f83a;hb=373495ef158d123d95ab44465d4249e65847492b;hp=f47da3da476a6e6b2ce5bd23a3874b340fd3da57;hpb=c3d25c24fb405af98c6879fa7f5f619ccc895151;p=egate.git diff --git a/res+log/Makefile b/res+log/Makefile index f47da3d..6190dc1 100644 --- a/res+log/Makefile +++ b/res+log/Makefile @@ -2,7 +2,19 @@ # Europagate, 1994-1995. # # $Log: Makefile,v $ -# Revision 1.5 1995/03/27 12:51:10 adam +# Revision 1.9 1996/05/22 08:37:25 adam +# Removed CFLAGS definition. +# +# Revision 1.8 1995/11/10 10:19:35 adam +# Test programs not build on 'make all'. +# +# Revision 1.7 1995/05/03 07:38:16 adam +# New functions gw_res_int and gw_res_bool. +# +# Revision 1.6 1995/04/17 09:36:03 adam +# Minor changes. +# +# Revision 1.5 1995/03/27 12:51:10 adam # New log level in use: GW_LOG_ERRNO. # # Revision 1.4 1995/02/23 08:32:20 adam @@ -16,15 +28,14 @@ # SHELL=/bin/sh INCLUDE=-I../include -#CFLAGS=-Wall -pedantic -ansi CPP=$(CC) -E TPROG1=gw-log-test TPROG2=gw-res-test LIB=../lib/libres+log.a -PO=gw-log.o gw-res.o +PO=gw-log.o gw-res.o gw-res-bool.o gw-res-int.o DEFS=$(INCLUDE) -all: $(TPROG1) $(TPROG2) +all: $(LIB) $(TPROG1): $(TPROG1).o $(LIB) $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) @@ -46,14 +57,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