diff options
author | Robert de Bath <rdebath@poboxes.com> | 2002-07-28 22:10:50 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:48:47 +0200 |
commit | e6248da18100235ae33468d058e5b71fcefeff3b (patch) | |
tree | 4e3833ed515d03d2366c27f71ef0fe349a2dee12 /cpp/Makefile | |
parent | 2060b4f4cc1c13975e495d088344825f7700181b (diff) | |
download | dev86-e6248da18100235ae33468d058e5b71fcefeff3b.tar.gz |
Import Dev86src-0.16.6.tar.gzv0.16.6
Diffstat (limited to 'cpp/Makefile')
-rw-r--r-- | cpp/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cpp/Makefile b/cpp/Makefile new file mode 100644 index 0000000..b5d5322 --- /dev/null +++ b/cpp/Makefile @@ -0,0 +1,26 @@ +CFLAGS=-Wall -Wstrict-prototypes + +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: + rm -f main.o cpp.o hash.o token1.o token2.o + +main.o: cc.h +cpp.o: cc.h +hash.o: cc.h +tree.o: cc.h + +token1.o: token1.h +token2.o: token2.h + +token1.h: token1.tok + gperf -aptTc -N is_ctok -H hash1 token1.tok > token1.h + +token2.h: token2.tok + gperf -aptTc -k1,3 -N is_ckey -H hash2 token2.tok > token2.h |