2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for make (!)
|
|
|
|
|
|
|
|
CFLAGS = -O -Dunix -D_MINIX -D_POSIX_SOURCE
|
|
|
|
|
|
|
|
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-05-31 14:32:35 +02:00
|
|
|
install -S 200k make
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
install: /usr/bin/make
|
|
|
|
|
|
|
|
/usr/bin/make: make
|
|
|
|
install -cs -o bin make $@
|
|
|
|
|
|
|
|
$(OBJ): h.h
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.bak core make
|