don't use bin/grep, it's not there
[unix-history] / usr / src / usr.bin / pascal / Makefile
index 9fc4d36..7ae501f 100644 (file)
@@ -1,13 +1,21 @@
-#      @(#)Makefile    1.3     (Berkeley)      %G%
+#
+# Copyright (c) 1980 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    5.4 (Berkeley) %G%
 #
 DESTDIR=
 CFLAGS=        -O
 
 # Programs that live in subdirectories, and have makefiles of their own.
 #
 #
 DESTDIR=
 CFLAGS=        -O
 
 # Programs that live in subdirectories, and have makefiles of their own.
 #
-SUBDIR=        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}
@@ -22,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: