diff options
| -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 | 
