Added support for the CMake build system

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-08-19 15:59:24 +00:00
parent aa612ec63a
commit a991fe8e4d
144 changed files with 2086 additions and 7033 deletions

View file

@ -0,0 +1,15 @@
export SRCROOT = ../..
export CPP = g++
export CFLAGS = -W -Wall -ansi -g -O2 -DNDEBUG -I../../include
export EXAMPLES = ftp opengl pong shader sockets sound sound_capture voip window X11
all: $(EXAMPLES)
$(EXAMPLES):
$(MAKE) -f Makefile.$@
clean mrproper:
for example in $(EXAMPLES); do $(MAKE) $@ -f Makefile.$${example}; done
.PHONY: clean mrproper