mirror of
https://github.com/SFML/SFML.git
synced 2024-12-11 12:39:15 +08:00
a991fe8e4d
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
16 lines
367 B
Makefile
16 lines
367 B
Makefile
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
|
|
|