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=\
LIB=\
../cc/cc.a$O
$(TARG): $(OFILES)
$(TARG): $(OFILES) $(LIB)
cc -o $(TARG) -L/home/r/plan9/lib $(OFILES) $(LIB) -lbio -l9
$(OFILES): $(HFILES)
......
......@@ -26,7 +26,7 @@ OFILES=\
LIB=\
../gc/gc.a$O
$(TARG): $(OFILES)
$(TARG): $(OFILES) $(LIB)
cc -o $(TARG) -L/home/r/plan9/lib $(OFILES) $(LIB) -lbio -l9
$(OFILES): $(HFILES)
......
......@@ -45,6 +45,6 @@ y.tab.c: $(YFILES)
yacc $(YFLAGS) $(YFILES)
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)
......@@ -40,6 +40,6 @@ sysimport.c: sys.go mksys.bash
bash mksys.bash
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)
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