projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
466240b
)
added fix to Makefile to execute "sdl2-config" only once
author
Holger Schemel
<info@artsoft.org>
Thu, 26 Nov 2020 16:58:48 +0000
(17:58 +0100)
committer
Holger Schemel
<info@artsoft.org>
Thu, 26 Nov 2020 16:58:48 +0000
(17:58 +0100)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index af907f8c342bd09e56be62056e8cd21e3cf9412f..126f07337755724a5d45a0c5f70da6f24b645359 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-84,9
+84,9
@@
endif
# $(info Using SDL version $(SDL_VERSION) [TARGET == $(TARGET)])
ifeq ($(TARGET),sdl2) # compiling for SDL2 target
-SYS_CFLAGS = -DTARGET_SDL2 $(shell sdl2-config --cflags)
SDL_LIBS = -lSDL2_image -lSDL2_mixer -lSDL2_net
-SYS_LDFLAGS = $(SDL_LIBS) $(shell sdl2-config --libs)
+SYS_CFLAGS := -DTARGET_SDL2 $(shell sdl2-config --cflags)
+SYS_LDFLAGS := $(SDL_LIBS) $(shell sdl2-config --libs)
endif