minix/commands/i86/Makefile

24 lines
365 B
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for commands/i86.
CFLAGS = -D_MINIX -D_POSIX_SOURCE
CCLD = $(CC) -i $(CFLAGS)
MAKE = exec make -$(MAKEFLAGS)
2005-09-07 10:43:25 +02:00
CC = exec cc
2005-04-21 16:53:53 +02:00
all: cc
cc: cc.c
$(CCLD) -o $@ $?
install -S 6kb $@
install: /usr/bin/cc /usr/bin/m2 /usr/bin/pc
/usr/bin/cc: cc
install -cs -o bin $? $@
/usr/bin/m2 /usr/bin/pc: /usr/bin/cc
install -l $? $@
clean:
rm -rf a.out core cc