don't use bin/grep, it's not there
[unix-history] / usr / src / usr.bin / pascal / Makefile
index 28625fe..7ae501f 100644 (file)
@@ -3,7 +3,7 @@
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
-#      @(#)Makefile    5.1 (Berkeley) %G%
+#      @(#)Makefile    5.4 (Berkeley) %G%
 #
 DESTDIR=
 CFLAGS=        -O
 #
 DESTDIR=
 CFLAGS=        -O
@@ -12,7 +12,10 @@ CFLAGS=      -O
 #
 SUBDIR=        eyacc pi pc0 px pxp pdx utilities
 
 #
 SUBDIR=        eyacc pi pc0 px pxp pdx utilities
 
-all:   ${SUBDIR}
+all:
+       for i in ${SUBDIR}; do \
+               (cd $$i; make ${MFLAGS}); \
+       done
 
 ${SUBDIR}: /tmp
        cd $@; make ${MFLAGS}
 
 ${SUBDIR}: /tmp
        cd $@; make ${MFLAGS}
@@ -27,3 +30,5 @@ clean:
        for i in ${SUBDIR}; do \
                (echo $$i; cd $$i; make ${MFLAGS} clean); \
        done
        for i in ${SUBDIR}; do \
                (echo $$i; cd $$i; make ${MFLAGS} clean); \
        done
+
+depend: