.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
-