mirror of
https://github.com/colindean/optar.git
synced 2025-03-11 22:17:40 +13:00
Executes libpng-config once
Instead of at each CC invocation
This commit is contained in:
parent
3956bd04a6
commit
b3270e4537
3
Makefile
3
Makefile
@ -5,10 +5,11 @@ ifeq ($(CC), gcc)
|
||||
else
|
||||
SPECIFIC_CFLAGS=
|
||||
endif
|
||||
INCLUDE_PATHS=$(shell libpng-config --I_opts)
|
||||
CFLAGS=-O3 -Wall -Wuninitialized \
|
||||
-fomit-frame-pointer -funroll-loops \
|
||||
$(SPECIFIC_CFLAGS) \
|
||||
-DNODEBUG `libpng-config --I_opts`
|
||||
-DNODEBUG $(INCLUDE_PATHS)
|
||||
|
||||
VERSION=$(shell git describe)
|
||||
ARCHIVE_PATH=optar-$(VERSION).tar.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user