diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-07-06 08:10:45 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-07-06 08:53:50 (GMT) |
commit | 4102203a154be18fbffe14511a4c58a7c8934714 (patch) | |
tree | 7868c52e3d65105aa12f51f147eaae9fe0149bf0 /src/sfml.mk | |
parent | 86b660d258f2a6610b96f8fbd8c583cc46c6727d (diff) | |
download | mxe-4102203a154be18fbffe14511a4c58a7c8934714.zip mxe-4102203a154be18fbffe14511a4c58a7c8934714.tar.gz mxe-4102203a154be18fbffe14511a4c58a7c8934714.tar.bz2 |
package sfml: use pkg-config and fix whitespace
Diffstat (limited to 'src/sfml.mk')
-rw-r--r-- | src/sfml.mk | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/sfml.mk b/src/sfml.mk index 04a2bf8..466dde4 100644 --- a/src/sfml.mk +++ b/src/sfml.mk @@ -22,13 +22,12 @@ define $(PKG)_BUILD -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' $(MAKE) -C '$(1)/build' -j '$(JOBS)' install VERBOSE=1 - + '$(TARGET)-g++' \ -W -Wall -Werror \ - -DSFML_STATIC -DAL_LIBTYPE_STATIC \ + -DSFML_STATIC -DAL_LIBTYPE_STATIC \ '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-sfml.exe' \ - -lsfml-audio-s -lsfml-network-s -lsfml-graphics-s -lsfml-window-s -lsfml-system-s \ - -lGLEW -lopengl32 -lgdi32 -lOpenAL32 -lwinmm -luuid -lole32 -ljpeg \ - -lsndfile -lws2_32 -lfreetype -lFLAC -lvorbisenc -lvorbis -logg -lm -lpng -lz -lbz2 - + -lsfml-audio-s -lsfml-network-s -lsfml-graphics-s -lsfml-window-s -lsfml-system-s \ + `$(TARGET)-pkg-config --cflags --libs freetype2 glew openal sndfile vorbisenc` \ + -ljpeg -lws2_32 -lgdi32 endef |