mirror of
https://github.com/colindean/optar.git
synced 2025-03-11 22:17:40 +13:00
Adds some compiler-specific configuration
Mostly to silence warnings. I hate buzzers going off!
This commit is contained in:
parent
3ecedd11dd
commit
a3f7e4765f
11
Makefile
11
Makefile
@ -1,7 +1,14 @@
|
||||
CC?=gcc
|
||||
LDFLAGS=-lm
|
||||
CFLAGS=-O3 -Wall -Wuninitialized -fomit-frame-pointer -funroll-loops \
|
||||
-fstrength-reduce -DNODEBUG `libpng-config --I_opts`
|
||||
ifeq ($(CC), gcc)
|
||||
SPECIFIC_CFLAGS=-fstrength-reduce
|
||||
else
|
||||
SPECIFIC_CFLAGS=
|
||||
endif
|
||||
CFLAGS=-O3 -Wall -Wuninitialized \
|
||||
-fomit-frame-pointer -funroll-loops \
|
||||
$(SPECIFIC_CFLAGS) \
|
||||
-DNODEBUG `libpng-config --I_opts`
|
||||
|
||||
all: optar unoptar
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user