From e6c9434f83f342a5868c23b8ae508ff651d778d5 Mon Sep 17 00:00:00 2001 From: "\"John Hawthorn ext:(%22)" Date: Thu, 1 Jan 2009 03:56:05 -0800 Subject: updated makefile. Default to -O2 --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 29527c9..53ca36d 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ SRCFILES := $(wildcard src/*.c) OBJFILES := $(SRCFILES:%.c=%.o) DEPFILES := $(OBJFILES:%.o=%.d) CLEANFILES := $(CLEANFILES) $(DEPFILES) $(OBJFILES) meh +CFLAGS ?= -O2 LIBS ?= -lX11 -lXext -ljpeg -lpng -lgif PREFIX ?= /usr/local BINDIR = $(PREFIX)/bin @@ -10,9 +11,6 @@ BINDIR = $(PREFIX)/bin # User configuration -include config.mk - - - meh: $(OBJFILES) $(CC) $(LDFLAGS) -o $@ $(OBJFILES) $(LIBS) -- cgit v1.2.3