8000 minix/commands/sh/Makefile at R3.1.4 · krackou/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
29 lines (20 loc) · 405 Bytes

Makefile

File metadata and controls

executable file
·
29 lines (20 loc) · 405 Bytes
# Makefile for sh
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -wa
LDFLAGS = -i
CC = exec cc
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
0