aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hawthorn <jhawthor@uvic.ca>2009-07-25 23:05:24 -0700
committerJohn Hawthorn <jhawthor@uvic.ca>2009-07-25 23:05:24 -0700
commit866ca6e02121344a1af5324579521eadda5ae243 (patch)
tree2c0dde261ead3f028ec444356946fac6de94761f /Makefile
parent3ab3910e87730ba9ecd6d4c9f053424e933ad62f (diff)
downloadmirror-meh-866ca6e02121344a1af5324579521eadda5ae243.tar.gz
mirror-meh-866ca6e02121344a1af5324579521eadda5ae243.tar.bz2
mirror-meh-866ca6e02121344a1af5324579521eadda5ae243.zip
added convenience makefile configs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 170fc56..77fe712 100644
--- a/Makefile
+++ b/Makefile
@@ -9,10 +9,11 @@ PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin
# User configuration
--include config.mk
+CONFIG ?= ../config
+-include configs/$(CONFIG).mk
meh: $(OBJFILES)
- $(CC) $(LDFLAGS) -o $@ $(OBJFILES) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJFILES) $(LIBS)
-include $(DEPFILES)