fixed Makefile, added .distr
This commit is contained in:
parent
dc2dd991c6
commit
2a15fcf645
4
lang/cem/libcc.ansi/ctype/.distr
Normal file
4
lang/cem/libcc.ansi/ctype/.distr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
LIST
|
||||||
|
Makefile
|
||||||
|
char.tab
|
||||||
|
genfiles.c
|
|
@ -5,9 +5,19 @@ CFLAGS=-L -LIB
|
||||||
.e.o:
|
.e.o:
|
||||||
$(CC) $(CFLAGS) -c -o $@ $*.e
|
$(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
|
genfiles: genfiles.c
|
||||||
$(CC) genfiles.c -o genfiles
|
cc genfiles.c -o genfiles
|
||||||
|
|
||||||
chartab.c: char.tab
|
chartab.c: char.tab
|
||||||
tabgen -fchar.tab > chartab.c
|
tabgen -fchar.tab > chartab.c
|
||||||
|
|
Loading…
Reference in a new issue