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-08-18 13:36:36 +02:00
|
|
|
install -S 2000k 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
|