123456789101112131415 |
- $OpenBSD: patch-src_Makefile,v 1.3 2017/02/27 20:50:32 naddy Exp $
- --- src/Makefile.orig Tue Nov 1 15:27:37 2016
- +++ src/Makefile Mon Feb 27 21:48:46 2017
- @@ -15,8 +15,8 @@ INCS := -I/opt/local/include
- CFLAGS += $(INCS) -Wall -std=gnu99 -D_GNU_SOURCE=1 -D_THREAD_SAFE -DOSX -O2
- else
- LIBS := $(shell pkg-config --libs sdl2 SDL2_image SDL2_mixer)
- -INCS := $(shell pkg-config --cflags sdl2 SDL2_image SDL2_mixer)
- -CFLAGS += $(INCS) -Wall -std=gnu99 -O2
- +INCS := $(shell pkg-config --cflags sdl2 SDL2_image SDL2_mixer) -I${LOCALBASE}/include
- +CFLAGS += $(INCS) -Wall -std=gnu99
- endif
-
- all: $(BIN)
|