]> git.sur5r.net Git - cc65/commitdiff
Make the all target build all libraries
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 10 Oct 2000 19:54:45 +0000 (19:54 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 10 Oct 2000 19:54:45 +0000 (19:54 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@351 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/Makefile

index 068bbb4f5935435642cdc5a7503bf78750103a67..47b33bc494536284b2ac15dcd6817139f3a79248 100644 (file)
@@ -11,9 +11,22 @@ export AS = ../../src/ca65/ca65
 # Define used within this makefile
 AR = ../src/ar65/ar65
 
+# List of all targets
+ALLTARGETS =   apple2lib       \
+               atarilib        \
+               c64lib          \
+               c128lib         \
+               cbm610lib       \
+               geoslib         \
+               petlib          \
+               plus4lib
+
 #-----------------------------------------------------------------------------
 
-all :          apple2lib c64lib c128lib cbm610lib geoslib petlib plus4lib
+all:
+       for tgt in $(ALLTARGETS); do            \
+           $(MAKE) clean $$tgt;                \
+       done
 
 #-----------------------------------------------------------------------------
 # Apple ][