source: trunk/minix/commands/i86/Makefile@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 365 bytes
Line 
1# Makefile for commands/i86.
2
3CFLAGS = -D_MINIX -D_POSIX_SOURCE
4CCLD = $(CC) -i $(CFLAGS)
5MAKE = exec make -$(MAKEFLAGS)
6CC = exec cc
7
8all: cc
9
10cc: cc.c
11 $(CCLD) -o $@ $?
12 install -S 6kb $@
13
14install: /usr/bin/cc /usr/bin/m2 /usr/bin/pc
15
16/usr/bin/cc: cc
17 install -cs -o bin $? $@
18
19/usr/bin/m2 /usr/bin/pc: /usr/bin/cc
20 install -l $? $@
21
22clean:
23 rm -rf a.out core cc
Note: See TracBrowser for help on using the repository browser.