mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
877df21756
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1279 4e206d99-4929-0410-ac5d-dfc041789085
85 lines
2.1 KiB
Makefile
85 lines
2.1 KiB
Makefile
export CC = g++
|
|
export CFLAGS = -W -Wall -ansi -g -O2 -DNDEBUG -I../../include
|
|
export LDFLAGS =
|
|
export EXECPATH = ../bin
|
|
|
|
all: ftp-sample opengl-sample pong-sample qt-sample shader-sample sockets-sample sound-sample sound_capture-sample voip-sample window-sample wxwidgets-sample X11-sample
|
|
|
|
ftp-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./ftp && $(MAKE))
|
|
|
|
opengl-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./opengl && $(MAKE))
|
|
|
|
pong-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./pong && $(MAKE))
|
|
|
|
shader-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./shader && $(MAKE))
|
|
|
|
qt-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./qt && $(MAKE))
|
|
|
|
sockets-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./sockets && $(MAKE))
|
|
|
|
sound-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./sound && $(MAKE))
|
|
|
|
sound_capture-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./sound_capture && $(MAKE))
|
|
|
|
voip-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./voip && $(MAKE))
|
|
|
|
window-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./window && $(MAKE))
|
|
|
|
wxwidgets-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./wxwidgets && $(MAKE))
|
|
|
|
X11-sample:
|
|
@(mkdir -p bin)
|
|
@(cd ./X11 && $(MAKE))
|
|
|
|
.PHONY: clean mrproper
|
|
|
|
clean:
|
|
@(cd ./ftp && $(MAKE) $@ && \
|
|
cd ../opengl && $(MAKE) $@ && \
|
|
cd ../pong && $(MAKE) $@ && \
|
|
cd ../qt && $(MAKE) $@ && \
|
|
cd ../shader && $(MAKE) $@ && \
|
|
cd ../sockets && $(MAKE) $@ && \
|
|
cd ../sound && $(MAKE) $@ && \
|
|
cd ../sound_capture && $(MAKE) $@ && \
|
|
cd ../voip && $(MAKE) $@ && \
|
|
cd ../window && $(MAKE) $@ && \
|
|
cd ../wxwidgets && $(MAKE) $@ && \
|
|
cd ../X11 && $(MAKE) $@)
|
|
|
|
mrproper: clean
|
|
@(cd ./ftp && $(MAKE) $@ && \
|
|
cd ../opengl && $(MAKE) $@ && \
|
|
cd ../pong && $(MAKE) $@ && \
|
|
cd ../qt && $(MAKE) $@ && \
|
|
cd ../shader && $(MAKE) $@ && \
|
|
cd ../sockets && $(MAKE) $@ && \
|
|
cd ../sound && $(MAKE) $@ && \
|
|
cd ../sound_capture && $(MAKE) $@ && \
|
|
cd ../voip && $(MAKE) $@ && \
|
|
cd ../window && $(MAKE) $@ && \
|
|
cd ../wxwidgets && $(MAKE) $@ && \
|
|
cd ../X11 && $(MAKE) $@)
|