diff options
author | Robert de Bath <rdebath@poboxes.com> | 2002-08-11 08:50:48 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:48:48 +0200 |
commit | 26ade8d624457b7164502ed9c190ca3f146bda0c (patch) | |
tree | 75a70b6a562bc595c971e170994a8e302a8c7b3b /cpp/Makefile | |
parent | 660429af0232d4afcb3e03fb0437053dd6e16286 (diff) | |
download | dev86-26ade8d624457b7164502ed9c190ca3f146bda0c.tar.gz |
Import Dev86src-0.16.8.tar.gzv0.16.8
Diffstat (limited to 'cpp/Makefile')
-rw-r--r-- | cpp/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/cpp/Makefile b/cpp/Makefile index b5d5322..0ea43cc 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -5,11 +5,11 @@ all: bcc-cpp bcc-cpp: main.o cpp.o hash.o token1.o token2.o $(CC) $(CFLAGS) -o bcc-cpp main.o cpp.o hash.o token1.o token2.o -realclean: clean - rm -f bcc-cpp token1.h token2.h +clean realclean: + rm -f bcc-cpp main.o cpp.o hash.o token1.o token2.o tmp.h -clean: - rm -f main.o cpp.o hash.o token1.o token2.o +maintclean: realclean + rm -f token1.h token2.h main.o: cc.h cpp.o: cc.h @@ -20,7 +20,9 @@ token1.o: token1.h token2.o: token2.h token1.h: token1.tok - gperf -aptTc -N is_ctok -H hash1 token1.tok > token1.h + gperf -aptTc -N is_ctok -H hash1 token1.tok > tmp.h + mv tmp.h token1.h token2.h: token2.tok - gperf -aptTc -k1,3 -N is_ckey -H hash2 token2.tok > token2.h + gperf -aptTc -k1,3 -N is_ckey -H hash2 token2.tok > tmp.h + mv tmp.h token2.h |