make fundamental changes in project building

add some makefile.defs
This commit is contained in:
hathach
2012-12-07 01:27:32 +07:00
parent f31ade6151
commit 6049b6d0df
40 changed files with 4359 additions and 4079 deletions
+10
View File
@@ -0,0 +1,10 @@
#Project absolute path
build_dir = $(subst \,/,$(PWD))
proj_path = $(build_dir)/..
#get workspace absolute path
workspace_dir = $(shell cd $(proj_path)/../../.. ; pwd)
#workspace_dir = $(proj_path)/../../../
$(info workspace $(workspace_dir))
include $(workspace_dir)/demos/demos.mk