Fixed "lib" directory not created before building libraries, in SFML and CSFML Linux makefiles

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1231 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2009-10-08 07:08:34 +00:00
parent 58db9f25b1
commit 49b97bb09a
3 changed files with 22 additions and 0 deletions

View File

@ -14,18 +14,23 @@ export DESTINCDIR = $(DESTDIR)/include
all: csfml-system csfml-window csfml-network csfml-graphics csfml-audio
csfml-system:
@(mkdir -p ../../lib)
@(cd ./System && $(MAKE))
csfml-window:
@(mkdir -p ../../lib)
@(cd ./Window && $(MAKE))
csfml-network:
@(mkdir -p ../../lib)
@(cd ./Network && $(MAKE))
csfml-graphics:
@(mkdir -p ../../lib)
@(cd ./Graphics && $(MAKE))
csfml-audio:
@(mkdir -p ../../lib)
@(cd ./Audio && $(MAKE))
.PHONY: clean mrproper

View File

@ -13,39 +13,51 @@ export EXECPATH = ../bin
all: ftp-sample opengl-sample pong-sample post-fx-sample qt-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))
post-fx-sample:
@(mkdir -p bin)
@(cd ./post-fx && $(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

View File

@ -34,18 +34,23 @@ export DESTINCDIR = $(DESTDIR)/include
all: sfml-system sfml-window sfml-network sfml-graphics sfml-audio
sfml-system:
@(mkdir -p ../../lib)
@(cd ./System && $(MAKE))
sfml-window:
@(mkdir -p ../../lib)
@(cd ./Window && $(MAKE))
sfml-network:
@(mkdir -p ../../lib)
@(cd ./Network && $(MAKE))
sfml-graphics:
@(mkdir -p ../../lib)
@(cd ./Graphics && $(MAKE))
sfml-audio:
@(mkdir -p ../../lib)
@(cd ./Audio && $(MAKE))
.PHONY: clean mrproper