Changed mechanism for defining size_type

This commit is contained in:
ceriel
1991-07-12 10:16:11 +00:00
parent 8aca156256
commit df06ee22f2
4 changed files with 30 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ CFLAGS = -O -I$(EMHOME)/modules/h $(COPT)
SUF = o
RCC = cc #$ must produce a runnable object
MALLOCSRC = READ_ME size_type.h param.h impl.h check.h log.h phys.h \
MALLOCSRC = READ_ME size_type.h gensize_type.h param.h impl.h check.h log.h phys.h \
mal.c log.c phys.c check.c
.SUFFIXES: .$(SUF)
@@ -35,10 +35,10 @@ opr:
make pr | opr
clean:
rm -f *.$(SUF) clashes malloc1.c size_type.h getsize malloc.c
rm -f *.$(SUF) clashes malloc1.c gensize_type.h getsize malloc.c
size_type.h: getsize
getsize > size_type.h
gensize_type.h: getsize
getsize > gensize_type.h
getsize: getsize.c
$(RCC) -o getsize getsize.c