X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..4bbe03bbc84116a4dfd1531448b4e9a5acf7f2bb:/stglibs/Makefile?ds=sidebyside

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
-