diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/Makefile b/src/Makefile index 8426968..4685a0a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,15 +1,10 @@ -# Makefile for qlibs +SRCS = *.c +OBJS = *.o +COMPILE = ./compile +MAKELIB = ./makelib +SHAREDLIB = ./sharedlib -SHELL=/bin/sh - -# static flags - DO NOT EDIT! -CCFLAGS=-Iinclude - -SRCS=*.c -OBJS=*.o -COMPILE=./compile -MAKELIB=./makelib -SHAREDLIB=./sharedlib +CCFLAGS = -Iinclude default: clean check libs @@ -19,7 +14,7 @@ check: clean: @echo -n Cleaning up libs ... @rm -f `cat TARGETS` - @cd dnsstub ; make -s clean ; cd .. + @$(MAKE) -C dnsstub -s clean @echo " done!" core: alloc.a buffer.a case.a cdb.a constmap.a env.a \ @@ -49,7 +44,7 @@ qlibs.a: obj socket.a dnsresolv.a: @echo "Building @dnsresolv lib ..." - @cd dnsstub ; make + @$(MAKE) -C dnsstub @cp dnsstub/dnsresolv.a dnsresolv.a ln -sf dnsresolv.a libdnsresolv.a |