minix/commands/i86/Makefile
2009-11-09 10:26:00 +00:00

23 lines
365 B
Makefile

# Makefile for commands/i86.
CFLAGS = -D_MINIX -D_POSIX_SOURCE
CCLD = $(CC) -i $(CFLAGS)
MAKE = exec make -$(MAKEFLAGS)
CC = exec cc
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