aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Mikhirev2014-11-15 11:45:01 +0300
committerDmitry Mikhirev2014-11-15 11:45:01 +0300
commite0032af245d18c83dde14d9df3b753d83f054d5a (patch)
tree711f574a013e47a39f2305b107e44fe60079b739
parentb5df366f20e0e734686fb2bf01adff065e0d70da (diff)
downloadmake_pcre-e0032af245d18c83dde14d9df3b753d83f054d5a.tar.gz
make_pcre-e0032af245d18c83dde14d9df3b753d83f054d5a.tar.bz2
make_pcre-e0032af245d18c83dde14d9df3b753d83f054d5a.tar.xz
make_pcre-e0032af245d18c83dde14d9df3b753d83f054d5a.zip
small enhancement in makefile
-rw-r--r--GNUmakefile4
1 files 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)