Intial revision
This commit is contained in:
21
lang/cem/libcc.ansi/stdlib/malloc/Makefile
Normal file
21
lang/cem/libcc.ansi/stdlib/malloc/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
EMHOME = ../../../../..
|
||||
DIR = .
|
||||
MALLOC_C = $(DIR)/malloc.c
|
||||
MALLOC_O = $(DIR)/malloc.o
|
||||
|
||||
MALLOCSRC = READ_ME size_type.h param.h impl.h check.h log.h phys.h \
|
||||
mal.c log.c phys.c check.c
|
||||
|
||||
$(MALLOC_C): $(MALLOCSRC) Makefile add_file
|
||||
rm -f $(MALLOC_C)
|
||||
for i in $(MALLOCSRC) ; do add_file $$i >> $(MALLOC_C) ; done
|
||||
rm -f $(MALLOC_O)
|
||||
|
||||
pr:
|
||||
@pr Makefile add_file $(MALLOCSRC)
|
||||
|
||||
opr:
|
||||
make pr | opr
|
||||
|
||||
clean:
|
||||
rm -f *.o malloc.c
|
||||
Reference in New Issue
Block a user