minix/commands/sh/Makefile

30 lines
405 B
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for sh
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -wa
LDFLAGS = -i
2005-09-07 10:43:25 +02:00
CC = exec cc
2005-04-21 16:53:53 +02:00
OBJ = sh1.o sh2.o sh3.o sh4.o sh5.o sh6.o
all: sh
sh: $(OBJ)
cc $(LDFLAGS) -o $@ $(OBJ)
install -S 11kw sh
install: /usr/bin/msh
/usr/bin/msh: sh
install -cs -o bin $? $@
#/usr/bin/sh: /usr/bin/msh
# install -l $? $@
#
#/bin/sh: /usr/bin/msh
# install -lcs $? $@
$(OBJ): sh.h
clean:
rm -f sh *.o *.bak core