From 866ca6e02121344a1af5324579521eadda5ae243 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sat, 25 Jul 2009 23:05:24 -0700 Subject: added convenience makefile configs --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3