Line | |
---|
1 | # Makefile for sh
|
---|
2 |
|
---|
3 | CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -wa
|
---|
4 | LDFLAGS = -i
|
---|
5 | CC = exec cc
|
---|
6 |
|
---|
7 | OBJ = sh1.o sh2.o sh3.o sh4.o sh5.o sh6.o
|
---|
8 |
|
---|
9 | all: sh
|
---|
10 |
|
---|
11 | sh: $(OBJ)
|
---|
12 | cc $(LDFLAGS) -o $@ $(OBJ)
|
---|
13 | install -S 11kw sh
|
---|
14 |
|
---|
15 | install: /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 |
|
---|
28 | clean:
|
---|
29 | rm -f sh *.o *.bak core
|
---|
Note:
See
TracBrowser
for help on using the repository browser.