X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..56dfcde5734ec014f33973d3be50405b583dfa31:/stglibs/Makefile

diff --git a/stglibs/Makefile b/stglibs/Makefile
index f7d5e45e..6b9fbe40 100644
--- a/stglibs/Makefile
+++ b/stglibs/Makefile
@@ -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
-