git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Externals/cross-compiler - Patching to get things compiling
[tpg/acess2.git]
/
Usermode
/
Libraries
/
Makefile.tpl
diff --git
a/Usermode/Libraries/Makefile.tpl
b/Usermode/Libraries/Makefile.tpl
index
c18d04f
..
bc5edf8
100644
(file)
--- a/
Usermode/Libraries/Makefile.tpl
+++ b/
Usermode/Libraries/Makefile.tpl
@@
-17,7
+17,17
@@
DEPFILES := $(addsuffix .dep,$(OBJ))
.PHONY: all clean install postbuild
.PHONY: all clean install postbuild
-all: $(_BIN) $(_XBIN)
+all: _libs $(_BIN) $(_XBIN)
+
+.PHONY: _libs
+
+
+HEADERS := $(patsubst include_exp/%,../../include/%,$(shell find include_exp/ -name \*.h))
+_libs: $(HEADERS)
+
+../../include/%: include_exp/%
+ @mkdir -p $(dir $@)
+ @ln -s $(shell pwd)/$< $@
.PHONY: utest utest-build utest-run $(UTESTS:%=runtest-%)
.PHONY: utest utest-build utest-run $(UTESTS:%=runtest-%)
UCC
git Repository :: git.ucc.asn.au