Commit Diff


commit - 3e4e748521f7e74e5815005e00b6beca990467be
commit + ffa0f08605a72f3ceb366644f4bac8497c28df0e
blob - 864939f9f2c73d8a25fac00781c07fd75c6a1701
blob + 39330681ae90940072b25ba9101ae436d69c5502
--- MyMakefile
+++ MyMakefile
@@ -1,9 +1,6 @@
 TOP != pwd
 CC = cc
 YACC = ${TOP}/cc/yacc/yacc
-.export CC
-.export TOP
-.export YACC
 
 all: make sys cc
 
@@ -14,11 +11,14 @@ distclean: clean
 	rm -f mk
 
 .c:
-	${CC} -o $@ $< ${CFLAGS}
+	${CC} -o $@ $< ${CFLAGS} ${CPPFLAGS}
 
 .c.o:
-	${CC} -c -o $@ $< ${CFLAGS}
+	${CC} -c -o $@ $< ${CFLAGS} ${CPPFLAGS}
 
+.export CC
+.export TOP
+.export YACC
 .include make
 .include cc
 .include sys