minix/commands/i386/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

32 lines
583 B
Makefile

# Makefile for commands/i386.
CFLAGS = -D_MINIX -D_POSIX_SOURCE
CCLD = $(CC) -i $(CFLAGS)
MAKE = exec make -$(MAKEFLAGS)
CC = exec cc
all:: acd
acd: acd.c
$(CCLD) -o $@ -DARCH=\"`arch`\" -DDESCR=\"/usr/lib/descr\" $?
install -S 50kw $@
install:: /usr/bin/acd /usr/bin/cc /usr/bin/m2 /usr/bin/pc \
/usr/lib/descr
/usr/bin/acd: acd
install -cs -o bin $? $@
/usr/bin/cc /usr/bin/m2 /usr/bin/pc: /usr/bin/acd
install -l h $? $@
/usr/lib/descr: acd.descr
install $? $@
clean::
rm -rf a.out core acd
all install clean::
cd asmconv && $(MAKE) $@
cd gas2ack && $(MAKE) $@