diff options
author | John Hawthorn <jhawthor@uvic.ca> | 2009-07-25 23:05:24 -0700 |
---|---|---|
committer | John Hawthorn <jhawthor@uvic.ca> | 2009-07-25 23:05:24 -0700 |
commit | 866ca6e02121344a1af5324579521eadda5ae243 (patch) | |
tree | 2c0dde261ead3f028ec444356946fac6de94761f | |
parent | 3ab3910e87730ba9ecd6d4c9f053424e933ad62f (diff) | |
download | mirror-meh-866ca6e02121344a1af5324579521eadda5ae243.tar.gz mirror-meh-866ca6e02121344a1af5324579521eadda5ae243.tar.bz2 mirror-meh-866ca6e02121344a1af5324579521eadda5ae243.zip |
added convenience makefile configs
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | configs/gprof.mk | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -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) diff --git a/configs/gprof.mk b/configs/gprof.mk new file mode 100644 index 0000000..e622a08 --- /dev/null +++ b/configs/gprof.mk @@ -0,0 +1 @@ +CFLAGS += -g -pg |