Changeset 9
- Timestamp:
- 12/15/2006 10:25:41 AM (5 years ago)
- Files:
-
- 4 edited
-
Bindings/Makefile (modified) (1 diff)
-
Makedefs (modified) (1 diff)
-
Makefile (modified) (1 diff)
-
Plugins/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Bindings/Makefile
r8 r9 1 1 #------------------------------------ 2 # Bypass the build target to 3 # subdirectories 2 # Bypass the targets to subdirs 4 3 #------------------------------------ 5 all: glfw_make 4 include ../Makedefs 6 5 7 clean: glfw_clean 6 SUBDIRS = glfw 7 8 all: 9 $(MAKE_TARGET_BEGIN) all $(MAKE_TARGET_END) 8 10 9 10 glfw_clean: 11 (cd glfw && make clean) 12 13 glfw_make: 14 (cd glfw && make all) 15 11 clean: 12 $(MAKE_TARGET_BEGIN) clean $(MAKE_TARGET_END) -
Makedefs
r8 r9 28 28 29 29 30 #----------------------------------------------- 31 # Define variables for simplier creating 32 # makefiles in subdirectories 33 #----------------------------------------------- 34 MAKE_TARGET_BEGIN =\ 35 $(SHELL) -ec 'subd="$(SUBDIRS)";\ 36 for f in $$subd; do\ 37 (cd $$f && make 30 38 39 MAKE_TARGET_END = ); done;' 40 -
Makefile
r8 r9 1 TOPDIR= ./2 1 3 #----------------------------------------------- 4 # Include defs for defining the variables 5 #----------------------------------------------- 6 include $(TOPDIR)/Makedefs 2 include Makedefs 7 3 8 #----------------------------------------------- 9 # Rules for building engine and it's components 10 #----------------------------------------------- 11 all: core bindings plugins 12 clean: bindings_clean plugins_clean core_clean 4 SUBDIRS = nrEngine Bindings Plugins 5 6 all: 7 $(MAKE_TARGET_BEGIN) all $(MAKE_TARGET_END) 13 8 14 bindings_clean: 15 @ echo "Clean bindings" 16 @ (cd Bindings && make clean) 9 clean: 10 $(MAKE_TARGET_BEGIN) clean $(MAKE_TARGET_END) 17 11 18 plugins_clean:19 @ echo "Clean plugins"20 @ (cd Plugins && make clean)21 12 22 core_clean:23 @ echo "Clean nrEngine-Core"24 @ (cd nrEngine/src && make clean)25 26 bindings:27 @ echo "Compile engine's bindings"28 @ (cd Bindings && make all)29 30 plugins:31 @ echo "Compile plugins for nrEngine"32 @ (cd Plugins && make all)33 34 core:35 @ echo "Start compiling the nrEngine-Core"36 @ (cd nrEngine/src && make all)37 38 39 #-----------------------------------------------40 # Include rules for handling the objects41 #-----------------------------------------------42 include $(TOPDIR)/Makerules -
Plugins/Makefile
r8 r9 1 1 #------------------------------------ 2 # Bypass the build target to 3 # subdirectories 2 # Bypass the targets to subdirs 4 3 #------------------------------------ 5 all: luaScripting_make 4 include ../Makedefs 6 5 7 clean: luaScripting_clean 6 SUBDIRS = luaScripting 7 8 all: 9 $(MAKE_TARGET_BEGIN) all $(MAKE_TARGET_END) 8 10 9 10 luaScripting_clean: 11 (cd luaScripting && make clean) 12 13 luaScripting_make: 14 (cd luaScripting && make all) 15 11 clean: 12 $(MAKE_TARGET_BEGIN) clean $(MAKE_TARGET_END)
Note: See TracChangeset
for help on using the changeset viewer.
