mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
Merge pull request #478 from nmeum/makefile-prerequisites
Improve Makefile prerequisites
This commit is contained in:
commit
ecfe26d5b7
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -150,12 +150,12 @@ doc :
|
||||||
|
|
||||||
.PHONY: clean full bench bootstrap tags indent debug test doc
|
.PHONY: clean full bench bootstrap tags indent debug test doc
|
||||||
|
|
||||||
$(TESTS) : %: %.scm
|
$(TESTS) : %: %.scm cyclone libs
|
||||||
$(CYCLONE_LOCAL) -I . $<
|
$(CYCLONE_LOCAL) -I . $<
|
||||||
./$@
|
./$@
|
||||||
rm -rf $@
|
rm -rf $@
|
||||||
|
|
||||||
$(EXAMPLES) : %: %.scm
|
$(EXAMPLES) : %: %.scm cyclone libs
|
||||||
$(CYCLONE_LOCAL) $<
|
$(CYCLONE_LOCAL) $<
|
||||||
|
|
||||||
game-of-life :
|
game-of-life :
|
||||||
|
@ -166,13 +166,13 @@ hello-library/hello :
|
||||||
|
|
||||||
libs : $(COBJECTS)
|
libs : $(COBJECTS)
|
||||||
|
|
||||||
$(COBJECTS) : %.o: %.sld
|
$(COBJECTS) : %.o: %.sld cyclone
|
||||||
$(CYCLONE_LOCAL) $<
|
$(CYCLONE_LOCAL) $<
|
||||||
|
|
||||||
cyclone : cyclone.scm $(CYC_RT_LIB) $(CYC_BN_LIB)
|
cyclone : cyclone.scm $(CYC_RT_LIB) $(CYC_BN_LIB)
|
||||||
$(CYCLONE_SYSTEM) cyclone.scm
|
$(CYCLONE_SYSTEM) cyclone.scm
|
||||||
|
|
||||||
icyc : icyc.scm $(CYC_RT_LIB) $(CYC_BN_LIB)
|
icyc : icyc.scm $(CYC_RT_LIB) $(CYC_BN_LIB) cyclone libs
|
||||||
$(CYCLONE_LOCAL) $<
|
$(CYCLONE_LOCAL) $<
|
||||||
|
|
||||||
$(CYC_RT_LIB) : $(CFILES) $(HEADERS) $(CYC_BN_LIB)
|
$(CYC_RT_LIB) : $(CFILES) $(HEADERS) $(CYC_BN_LIB)
|
||||||
|
|
Loading…
Add table
Reference in a new issue