mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
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:
parent
58db9f25b1
commit
49b97bb09a
@ -14,18 +14,23 @@ export DESTINCDIR = $(DESTDIR)/include
|
|||||||
all: csfml-system csfml-window csfml-network csfml-graphics csfml-audio
|
all: csfml-system csfml-window csfml-network csfml-graphics csfml-audio
|
||||||
|
|
||||||
csfml-system:
|
csfml-system:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./System && $(MAKE))
|
@(cd ./System && $(MAKE))
|
||||||
|
|
||||||
csfml-window:
|
csfml-window:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./Window && $(MAKE))
|
@(cd ./Window && $(MAKE))
|
||||||
|
|
||||||
csfml-network:
|
csfml-network:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./Network && $(MAKE))
|
@(cd ./Network && $(MAKE))
|
||||||
|
|
||||||
csfml-graphics:
|
csfml-graphics:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./Graphics && $(MAKE))
|
@(cd ./Graphics && $(MAKE))
|
||||||
|
|
||||||
csfml-audio:
|
csfml-audio:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./Audio && $(MAKE))
|
@(cd ./Audio && $(MAKE))
|
||||||
|
|
||||||
.PHONY: clean mrproper
|
.PHONY: clean mrproper
|
||||||
|
@ -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
|
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:
|
ftp-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./ftp && $(MAKE))
|
@(cd ./ftp && $(MAKE))
|
||||||
|
|
||||||
opengl-sample:
|
opengl-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./opengl && $(MAKE))
|
@(cd ./opengl && $(MAKE))
|
||||||
|
|
||||||
pong-sample:
|
pong-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./pong && $(MAKE))
|
@(cd ./pong && $(MAKE))
|
||||||
|
|
||||||
post-fx-sample:
|
post-fx-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./post-fx && $(MAKE))
|
@(cd ./post-fx && $(MAKE))
|
||||||
|
|
||||||
qt-sample:
|
qt-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./qt && $(MAKE))
|
@(cd ./qt && $(MAKE))
|
||||||
|
|
||||||
sockets-sample:
|
sockets-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./sockets && $(MAKE))
|
@(cd ./sockets && $(MAKE))
|
||||||
|
|
||||||
sound-sample:
|
sound-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./sound && $(MAKE))
|
@(cd ./sound && $(MAKE))
|
||||||
|
|
||||||
sound_capture-sample:
|
sound_capture-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./sound_capture && $(MAKE))
|
@(cd ./sound_capture && $(MAKE))
|
||||||
|
|
||||||
voip-sample:
|
voip-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./voip && $(MAKE))
|
@(cd ./voip && $(MAKE))
|
||||||
|
|
||||||
window-sample:
|
window-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./window && $(MAKE))
|
@(cd ./window && $(MAKE))
|
||||||
|
|
||||||
wxwidgets-sample:
|
wxwidgets-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./wxwidgets && $(MAKE))
|
@(cd ./wxwidgets && $(MAKE))
|
||||||
|
|
||||||
X11-sample:
|
X11-sample:
|
||||||
|
@(mkdir -p bin)
|
||||||
@(cd ./X11 && $(MAKE))
|
@(cd ./X11 && $(MAKE))
|
||||||
|
|
||||||
.PHONY: clean mrproper
|
.PHONY: clean mrproper
|
||||||
|
@ -34,18 +34,23 @@ export DESTINCDIR = $(DESTDIR)/include
|
|||||||
all: sfml-system sfml-window sfml-network sfml-graphics sfml-audio
|
all: sfml-system sfml-window sfml-network sfml-graphics sfml-audio
|
||||||
|
|
||||||
sfml-system:
|
sfml-system:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./System && $(MAKE))
|
@(cd ./System && $(MAKE))
|
||||||
|
|
||||||
sfml-window:
|
sfml-window:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./Window && $(MAKE))
|
@(cd ./Window && $(MAKE))
|
||||||
|
|
||||||
sfml-network:
|
sfml-network:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./Network && $(MAKE))
|
@(cd ./Network && $(MAKE))
|
||||||
|
|
||||||
sfml-graphics:
|
sfml-graphics:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./Graphics && $(MAKE))
|
@(cd ./Graphics && $(MAKE))
|
||||||
|
|
||||||
sfml-audio:
|
sfml-audio:
|
||||||
|
@(mkdir -p ../../lib)
|
||||||
@(cd ./Audio && $(MAKE))
|
@(cd ./Audio && $(MAKE))
|
||||||
|
|
||||||
.PHONY: clean mrproper
|
.PHONY: clean mrproper
|
||||||
|
Loading…
Reference in New Issue
Block a user