22 lines
348 B
Makefile
Executable file
22 lines
348 B
Makefile
Executable file
# Makefile for make (!)
|
|
|
|
CFLAGS = -O -Dunix -D_MINIX -D_POSIX_SOURCE
|
|
CC = exec cc
|
|
|
|
OBJ = check.o input.o macro.o main.o make.o reader.o rules.o archive.o
|
|
|
|
all: make
|
|
|
|
make : $(OBJ)
|
|
$(CC) -i -o make $(OBJ)
|
|
install -S 330k make
|
|
|
|
install: /usr/bin/make
|
|
|
|
/usr/bin/make: make
|
|
install -c -o bin make $@
|
|
|
|
$(OBJ): h.h
|
|
|
|
clean:
|
|
rm -f *.o *.bak core make
|