source: trunk/minix/commands/i386/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: 525 bytes
RevLine 
[9]1# Makefile for commands/i386.
2
3CFLAGS = -D_MINIX -D_POSIX_SOURCE
4CCLD = $(CC) -i $(CFLAGS)
5MAKE = exec make -$(MAKEFLAGS)
6CC = exec cc
7
8all:: acd
9
10acd: acd.c
11 $(CCLD) -o $@ -DARCH=\"`arch`\" -DDESCR=\"/usr/lib/descr\" $?
12 install -S 50kw $@
13
14install:: /usr/bin/acd /usr/bin/cc /usr/bin/m2 /usr/bin/pc
15
16/usr/bin/acd: acd
17 install -cs -o bin $? $@
18
19/usr/bin/cc /usr/bin/m2 /usr/bin/pc: /usr/bin/acd
20 install -l $? $@
21
22clean::
23 rm -rf a.out core acd
24
25all install clean::
26 cd asmconv && $(MAKE) $@
27 cd mtools-3.9.7 && $(MAKE) $@
Note: See TracBrowser for help on using the repository browser.