From: Jelte Jansen Date: Thu, 12 Jan 2006 10:23:45 +0000 (+0000) Subject: made it possible to build from separate build directory. again. X-Git-Tag: release-1.1.0~429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7b9e95607f7b08479b432ff8a4deae98689fbe;p=thirdparty%2Fldns.git made it possible to build from separate build directory. again. --- diff --git a/drill/Makefile.in b/drill/Makefile.in index f95c9f18..7879a0a2 100644 --- a/drill/Makefile.in +++ b/drill/Makefile.in @@ -11,7 +11,7 @@ mandir = @mandir@ includedir = @INCLUDEDIR@ CC = @CC@ -CFLAGS = @CFLAGS@ +CFLAGS = @CFLAGS@ -I. CPPFLAGS = @CPPFLAGS@ -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @@ -47,7 +47,7 @@ drill: $(OBJ) ## implicit rule %.o: $(srcdir)/%.c - $(COMPILE) -c $(srcdir)/$< + $(COMPILE) -c $< clean: rm -f *.o diff --git a/examples/Makefile.in b/examples/Makefile.in index b94e432b..26861621 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -10,8 +10,8 @@ bindir = @bindir@ mandir = @mandir@ CC = @CC@ -CFLAGS = @CFLAGS@ -Wall -CPPFLAGS = @CPPFLAGS@ +CFLAGS = @CFLAGS@ -Wall -I. +CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @@ -90,7 +90,7 @@ ldns-threshold-update: ldns-threshold-update.o ## implicit rule %.o: $(srcdir)/%.c - $(COMPILE) -c $(srcdir)/$< + $(COMPILE) -c $< lint: for i in $(SOURCES); do \