source: trunk/minix/commands/sh/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: 405 bytes
RevLine 
[9]1# Makefile for sh
2
3CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -wa
4LDFLAGS = -i
5CC = exec cc
6
7OBJ = sh1.o sh2.o sh3.o sh4.o sh5.o sh6.o
8
9all: sh
10
11sh: $(OBJ)
12 cc $(LDFLAGS) -o $@ $(OBJ)
13 install -S 11kw sh
14
15install: /usr/bin/msh
16
17/usr/bin/msh: sh
18 install -cs -o bin $? $@
19
20#/usr/bin/sh: /usr/bin/msh
21# install -l $? $@
22#
23#/bin/sh: /usr/bin/msh
24# install -lcs $? $@
25
26$(OBJ): sh.h
27
28clean:
29 rm -f sh *.o *.bak core
Note: See TracBrowser for help on using the repository browser.