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:
laurentgom 2010-03-23 15:55:07 +00:00
parent fd8fa4e2f8
commit ca5489a5d6
21 changed files with 477 additions and 21 deletions

View 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