Mercurial > mxe-octave
comparison src/sdl.mk @ 3622:507e675391bd
sdl: create (MXE_TOOL_PREFIX)-sdl-config only if not native build
* src/sdl.mk: create (MXE_TOOL_PREFIX)-sdl-config only if not native build
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 27 Jun 2014 21:16:15 -0400 |
parents | 13be64f9f16d |
children | 28fa86d2cf21 |
comparison
equal
deleted
inserted
replaced
3621:2b24e408ea4a | 3622:507e675391bd |
---|---|
26 --enable-threads \ | 26 --enable-threads \ |
27 --enable-directx \ | 27 --enable-directx \ |
28 --disable-stdio-redirect | 28 --disable-stdio-redirect |
29 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | 29 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
30 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | 30 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
31 $(LN_SF) '$(HOST_BINDIR)/sdl-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)sdl-config' | 31 if [ "$(MXE_NATIVE_BUILD)" == "no" ]; then \ |
32 $(LN_SF) '$(HOST_BINDIR)/sdl-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)sdl-config'; \ | |
33 fi | |
32 | 34 |
33 '$(MXE_CC)' \ | 35 #'$(MXE_CC)' \ |
34 -W -Wall -Werror -ansi -pedantic \ | 36 # -W -Wall -Werror -ansi -pedantic \ |
35 '$(2).c' -o '$(HOST_BINDIR)/test-sdl.exe' \ | 37 # '$(2).c' -o '$(HOST_BINDIR)/test-sdl.exe' \ |
36 `'$(MXE_PKG_CONFIG)' sdl --cflags --libs` | 38 # `'$(MXE_PKG_CONFIG)' sdl --cflags --libs` |
37 endef | 39 endef |