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
Build - Fix build quirks for fresh
[tpg/acess2.git]
/
Usermode
/
Libraries
/
Makefile.tpl
diff --git
a/Usermode/Libraries/Makefile.tpl
b/Usermode/Libraries/Makefile.tpl
index
5e241f2
..
de263f5
100644
(file)
--- a/
Usermode/Libraries/Makefile.tpl
+++ b/
Usermode/Libraries/Makefile.tpl
@@
-43,7
+43,7
@@
else
V := @
endif
V := @
endif
-.PHONY: all clean install postbuild
+.PHONY: all clean install postbuild
utest-build utest-run generate_exp
all: _libs $(_BIN) $(_XBIN)
all: _libs $(_BIN) $(_XBIN)
@@
-55,6
+55,7
@@
HEADERS := $(patsubst include_exp/%,../../include/%,$(shell find include_exp/ -n
_libs: $(HEADERS)
../../include/%: include_exp/%
_libs: $(HEADERS)
../../include/%: include_exp/%
+ @echo [LN] $@
@mkdir -p $(dir $@)
@ln -s $(shell pwd)/$< $@
@mkdir -p $(dir $@)
@ln -s $(shell pwd)/$< $@
@@
-62,18
+63,13
@@
_libs: $(HEADERS)
utest: utest-build utest-run
utest: utest-build utest-run
-generate_exp: $(UTESTS:%=EXP_%.txt)
- @echo > /dev/null
-
utest-build: $(UTESTS:%=TEST_%)
utest-build: $(UTESTS:%=TEST_%)
- @echo > /dev/null
utest-run: $(UTESTS:%=runtest-%)
utest-run: $(UTESTS:%=runtest-%)
- @echo > /dev/null
-$(UTESTS:%=runtest-%): runtest-%: TEST_%
EXP_%.txt
+$(UTESTS:%=runtest-%): runtest-%: TEST_%
@echo --- [TEST] $*
@echo --- [TEST] $*
- @./TEST_$*
| diff EXP_$*.txt -
+ @./TEST_$*
clean:
$(RM) $(_BIN) $(_XBIN) $(OBJ) $(_BIN).dsm $(DEPFILES) $(EXTRACLEAN)
clean:
$(RM) $(_BIN) $(_XBIN) $(OBJ) $(_BIN).dsm $(DEPFILES) $(EXTRACLEAN)
UCC
git Repository :: git.ucc.asn.au