diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-06 17:59:12 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-06 18:58:08 -0700 |
commit | a52eab1b02f245bc7abb618e6e6847d426055c5f (patch) | |
tree | c7cb24704397c99b46a53190ee98bfc4551c77b1 /Makefile | |
parent | e388c580e6fdb910fec66bd851f8924506dc059d (diff) |
Compile with -O3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ VERSION=0.1beta CPPFLAGS=-DVERSION=\"${VERSION}\" -CFLAGS+=-Wall -Wextra -g -std=c99 -O2 +CFLAGS+=-Wall -Wextra -g -std=c99 -O3 PREFIX?=/usr/local INSTALL=install @@ -11,13 +11,13 @@ INSTALL_DATA=${INSTALL} -m 644 all: fzy fzytest fzytest: fzytest.o match.o - $(CC) $(CCFLAGS) -o $@ $^ + $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^ test: fzytest -./fzytest fzy: fzy.o match.o tty.o - $(CC) $(CCFLAGS) -o $@ $^ + $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^ %.o: %.c fzy.h $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< |