From e0032af245d18c83dde14d9df3b753d83f054d5a Mon Sep 17 00:00:00 2001 From: Dmitry Mikhirev Date: Sat, 15 Nov 2014 11:45:01 +0300 Subject: small enhancement in makefile --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 013ec80..c4999b2 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -MAKE_INCLUDE_DIR := $(HOME)/src/make-4.1 +MAKE_INCLUDE := -I$(HOME)/src/make-4.1 CFLAGS = -Wall tests = test001 test002 test003 @@ -10,7 +10,7 @@ tests = test001 test002 test003 pcre.so: CFLAGS += $(shell pcre-config --cflags) pcre.so: LDFLAGS += $(shell pcre-config --libs) pcre.so: pcre.c - $(CC) $(CPPFLAGS) $(CFLAGS) -I$(MAKE_INCLUDE_DIR) -fPIC $(LDFLAGS) -shared -o $@ $< + $(CC) $(CPPFLAGS) $(CFLAGS) $(MAKE_INCLUDE) -fPIC $(LDFLAGS) -shared -o $@ $< check: $(tests) -- cgit v1.2.1