minix/commands/sh/Makefile
Arun Thomas 2a8fabf4ad Include directory reorg and makefile updates.
-Convert the include directory over to using bsdmake
 syntax
-Update/add mkfiles
-Modify install(1) so that it can create symlinks
-Update makefiles to use new install(1) options
-Rename /usr/include/ibm to /usr/include/i386
-Create /usr/include/machine symlink to arch header files
-Move vm_i386.h to its new home in the /usr/include/i386
-Update source files to #include the header files at their
 new homes.
-Add new gnu-includes target for building GCC headers
2010-03-08 11:04:59 +00:00

29 lines
411 B
Makefile

# 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 h $? $@
#
#/bin/sh: /usr/bin/msh
# install -l h -cs $? $@
$(OBJ): sh.h
clean:
rm -f sh *.o *.bak core