aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author"John Hawthorn ext:(%22) <jhawthor@uvic.ca>2009-01-01 03:56:05 -0800
committer"John Hawthorn ext:(%22) <jhawthor@uvic.ca>2009-01-01 03:56:05 -0800
commite6c9434f83f342a5868c23b8ae508ff651d778d5 (patch)
tree3a650e1544dc856a26c6cc31fdd69b2ef4e5aed3
parent814789d237a2287412932707ef31e27e38285a76 (diff)
downloadmirror-meh-e6c9434f83f342a5868c23b8ae508ff651d778d5.tar.gz
mirror-meh-e6c9434f83f342a5868c23b8ae508ff651d778d5.tar.bz2
mirror-meh-e6c9434f83f342a5868c23b8ae508ff651d778d5.zip
updated makefile. Default to -O2
-rw-r--r--Makefile4
1 files changed, 1 insertions, 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)