Fixed proto.make

This commit is contained in:
ceriel 1991-09-13 12:36:13 +00:00
parent 4d7339bb60
commit 767c52b241
4 changed files with 10 additions and 5 deletions

View file

@ -83,7 +83,7 @@ pr:
lint: make.main
make -f make.main lint
Cfiles: hfiles LLfiles $(GEN_C) $(GEN_H)
Cfiles: hfiles LLfiles $(GEN_C) $(GEN_H) Makefile
echo $(CFILES) | tr ' ' '\012' > Cfiles
echo $(HFILES) | tr ' ' '\012' >> Cfiles

View file

@ -2,9 +2,12 @@
#PARAMS do not remove this line!
SRC_DIR = $(SRC_HOME)/lang/cem/libcc.ansi
all:
install:
-mkdir $(TARGET_HOME)/include
-mkdir $(TARGET_HOME)/include/tail_ac
( cd headers; tar cf - `cat LIST` ) | ( cd $(TARGET_HOME)/include/tail_ac ; tar xf - )
( cd $(SRC_DIR)/headers; tar cf - `cat LIST` ) | ( cd $(TARGET_HOME)/include/tail_ac ; tar xf - )

View file

@ -73,7 +73,7 @@ pr:
lint: make.main
make -f make.main lint
Cfiles: hfiles LLfiles $(GEN_C) $(GEN_H)
Cfiles: hfiles LLfiles $(GEN_C) $(GEN_H) Makefile
echo $(CFILES) | tr ' ' '\012' > Cfiles
echo $(HFILES) | tr ' ' '\012' >> Cfiles

View file

@ -18,10 +18,12 @@ clean:
cmp:
pr:
@pr Makefile $(SOURCES)
@pr $(SRC_DIR)/proto.make
for i in $(SOURCES) ; do pr $(SRC_DIR)/$$i ; done
opr:
make pr | opr
install:
-mkdir $(DEFDIR)
for i in $(SOURCES) ; do cp $$i $(DEFDIR)/$$i ; done
for i in $(SOURCES) ; do cp $(SRC_DIR)/$$i $(DEFDIR)/$$i ; done