Modified the Linux build system so that makefiles are now outside the source tree
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1477 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
fd8fa4e2f8
commit
ca5489a5d6
21 changed files with 477 additions and 21 deletions
17
samples/build/make/Makefile
Normal file
17
samples/build/make/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
export SRCROOT = ../..
|
||||
export BINPATH = ../../bin
|
||||
export CPP = g++
|
||||
export CFLAGS = -W -Wall -ansi -g -O2 -DNDEBUG -I../../include
|
||||
export SAMPLES = ftp opengl pong qt shader sockets sound sound_capture voip window wxwidgets X11
|
||||
|
||||
all: $(SAMPLES)
|
||||
|
||||
$(SAMPLES):
|
||||
mkdir -p $(BINPATH)
|
||||
$(MAKE) -f Makefile.$@
|
||||
|
||||
clean mrproper:
|
||||
for sample in $(SAMPLES); do $(MAKE) $@ -f Makefile.$${sample}; done
|
||||
|
||||
.PHONY: clean mrproper
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue