Commit 2694a85a authored by Rob Pike's avatar Rob Pike

tweaks in clean rules and dependencies

SVN=122274
parent 461d1b79
...@@ -31,7 +31,7 @@ OFILES=\ ...@@ -31,7 +31,7 @@ OFILES=\
LIB=\ LIB=\
../cc/cc.a$O ../cc/cc.a$O
$(TARG): $(OFILES) $(TARG): $(OFILES) $(LIB)
cc -o $(TARG) -L/home/r/plan9/lib $(OFILES) $(LIB) -lbio -l9 cc -o $(TARG) -L/home/r/plan9/lib $(OFILES) $(LIB) -lbio -l9
$(OFILES): $(HFILES) $(OFILES): $(HFILES)
......
...@@ -26,7 +26,7 @@ OFILES=\ ...@@ -26,7 +26,7 @@ OFILES=\
LIB=\ LIB=\
../gc/gc.a$O ../gc/gc.a$O
$(TARG): $(OFILES) $(TARG): $(OFILES) $(LIB)
cc -o $(TARG) -L/home/r/plan9/lib $(OFILES) $(LIB) -lbio -l9 cc -o $(TARG) -L/home/r/plan9/lib $(OFILES) $(LIB) -lbio -l9
$(OFILES): $(HFILES) $(OFILES): $(HFILES)
......
...@@ -45,6 +45,6 @@ y.tab.c: $(YFILES) ...@@ -45,6 +45,6 @@ y.tab.c: $(YFILES)
yacc $(YFLAGS) $(YFILES) yacc $(YFLAGS) $(YFILES)
clean: clean:
rm -f $(OFILES) $(TARG) *.6 enam.c 6.out a.out y.tab.h y.tab.c $(LIB) rm -f $(OFILES) *.6 enam.c 6.out a.out y.tab.h y.tab.c $(LIB)
install: $(LIB) install: $(LIB)
...@@ -40,6 +40,6 @@ sysimport.c: sys.go mksys.bash ...@@ -40,6 +40,6 @@ sysimport.c: sys.go mksys.bash
bash mksys.bash bash mksys.bash
clean: clean:
rm -f $(OFILES) $(TARG) *.6 enam.c 6.out a.out y.tab.h y.tab.c $(LIB) rm -f $(OFILES) *.6 enam.c 6.out a.out y.tab.h y.tab.c $(LIB)
install: $(LIB) install: $(LIB)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment