aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <chad@kiwitree.net>2016-04-05 14:24:53 -0700
committerChad Versace <chad@kiwitree.net>2016-04-05 14:25:11 -0700
commit0173d05216a1c7961a6dbf7cb7e647d30ae9a104 (patch)
tree5c3016c2de41da964f55dda00d03ad8c6cf29aaa
parent1e1b37d84c838805bd40e8d44dbe54ba7af31b43 (diff)
downloadministat-0173d05216a1c7961a6dbf7cb7e647d30ae9a104.zip
ministat-0173d05216a1c7961a6dbf7cb7e647d30ae9a104.tar.xz
Read config.mk if it exists
Signed-off-by: Chad Versace <chad@kiwitree.net>
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 044d440..4a8ef5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
+config.mk
ministat
diff --git a/Makefile b/Makefile
index 31f6871..74ac426 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,8 @@ BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man/man1
DESTDIR=
+-include config.mk
+
ministat:
gcc -lm ministat.c -o ministat