diff --git a/Makefile b/Makefile index 9e75beba..e69ffe62 100644 --- a/Makefile +++ b/Makefile @@ -249,7 +249,15 @@ libtcc1.a : tcc$(EXESUF) FORCE %-libtcc1.a : %-tcc$(EXESUF) FORCE @$(MAKE) -C lib DEFINES='$(DEF-$*)' CROSS_TARGET=$* -.PRECIOUS: %-libtcc1.a +# TinyCC runtime libraries +libtccb1.a : tcc$(EXESUF) FORCE + @$(MAKE) -C lib DEFINES='$(DEF-$T)' + +# Cross libtcc1.a +%-libtccb1.a : %-tcc$(EXESUF) FORCE + @$(MAKE) -C lib DEFINES='$(DEF-$*)' CROSS_TARGET=$* + +.PRECIOUS: %-libtcc1.a %-libtccb1.a FORCE: # --------------------------------------------------------------------------