2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for make (!)
|
|
|
|
|
|
|
|
CFLAGS = -O -Dunix -D_MINIX -D_POSIX_SOURCE
|
2005-09-07 10:43:25 +02:00
|
|
|
CC = exec cc
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
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)
|
2005-08-29 21:39:06 +02:00
|
|
|
install -S 330k make
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
install: /usr/bin/make
|
|
|
|
|
|
|
|
/usr/bin/make: make
|
2005-08-18 13:36:36 +02:00
|
|
|
install -c -o bin make $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
$(OBJ): h.h
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.bak core make
|