aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-07 17:22:42 +0200
committerMattias Andrée <maandree@kth.se>2016-05-07 17:22:42 +0200
commitd6f4393542998276250bd3f3519bb824ca4b3d91 (patch)
treee2c3c9d1efeb8be3930a1a987d793a367f89c9bb /Makefile
parentFix zsave translation for tomsfastmath and libtommath (diff)
downloadlibzahl-d6f4393542998276250bd3f3519bb824ca4b3d91.tar.gz
libzahl-d6f4393542998276250bd3f3519bb824ca4b3d91.tar.bz2
libzahl-d6f4393542998276250bd3f3519bb824ca4b3d91.tar.xz
Some small improvements
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d8bff8c..6c03b9e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-include config.mk
+CONFIG = config.mk
+include $(CONFIG)
HDR_SEMIPUBLIC =\
zahl/inlines.h\
@@ -121,7 +122,7 @@ CFLAGS_WITHOUT_O = $$(printf '%s\n' $(CFLAGS) | sed '/^-O.*$$/d')
all: libzahl.a $(DOC)
-.o: .c $(HDR) config.mk
+.o: .c $(HDR) $(CONFIG)
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
libzahl.a: $(OBJ)