]> git.stg.codes - stg.git/blobdiff - stglibs/Makefile
Proper checks for libs.
[stg.git] / stglibs / Makefile
index f7d5e45e1447863ca173f738be3dd11fb4ceeddd..6b9fbe4023b727919647aba2f08954a63a1b87c5 100644 (file)
@@ -7,16 +7,14 @@ include ../Makefile.conf
 .PHONY: all $(STG_LIBS)
 .PHONY: clean install uninstall includes
 all: $(STG_LIBS)
-
-$(STG_LIBS):
-       $(MAKE) $(MAKECMDGOALS) -C $@
+       for LIB in $(STG_LIBS); do\
+           $(MAKE) $(MAKECMDGOALS) -C $$LIB;\
+       done
 
 includes: all
 
 clean: all
-       rm -f $(DIR_LIB)/*
 
 install: all
 
 uninstall: all
-