From 2a15fcf6458b502551e0b8f793751f11dc45f3d6 Mon Sep 17 00:00:00 2001 From: eck Date: Mon, 18 Dec 1989 16:06:47 +0000 Subject: [PATCH] fixed Makefile, added .distr --- lang/cem/libcc.ansi/ctype/.distr | 4 ++++ lang/cem/libcc.ansi/ctype/Makefile | 12 +++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 lang/cem/libcc.ansi/ctype/.distr diff --git a/lang/cem/libcc.ansi/ctype/.distr b/lang/cem/libcc.ansi/ctype/.distr new file mode 100644 index 000000000..3c8007007 --- /dev/null +++ b/lang/cem/libcc.ansi/ctype/.distr @@ -0,0 +1,4 @@ +LIST +Makefile +char.tab +genfiles.c diff --git a/lang/cem/libcc.ansi/ctype/Makefile b/lang/cem/libcc.ansi/ctype/Makefile index c4aeb170e..b019c5596 100644 --- a/lang/cem/libcc.ansi/ctype/Makefile +++ b/lang/cem/libcc.ansi/ctype/Makefile @@ -5,9 +5,19 @@ CFLAGS=-L -LIB .e.o: $(CC) $(CFLAGS) -c -o $@ $*.e +clean: + rm -rf isalnum.o isalpha.o iscntrl.o isdigit.o isgraph.o \ + islower.o isprint.o ispunct.o isspace.o isupper.o \ + isxdigit.o isascii.o tolower.o toupper.o chartab.o \ + isalnum.c isalpha.c iscntrl.c isdigit.c isgraph.c \ + islower.c isprint.c ispunct.c isspace.c isupper.c \ + isxdigit.c isascii.c tolower.c toupper.c chartab.c \ + genfiles OLIST +# genfiles should not be compiled with $(CC) because we might be +# cross-compiling, in which case $(CC) does not yield a runnable object. genfiles: genfiles.c - $(CC) genfiles.c -o genfiles + cc genfiles.c -o genfiles chartab.c: char.tab tabgen -fchar.tab > chartab.c -- 2.34.1