2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for commands/i386.
|
|
|
|
|
|
|
|
CFLAGS = -D_MINIX -D_POSIX_SOURCE
|
|
|
|
CCLD = $(CC) -i $(CFLAGS)
|
|
|
|
MAKE = exec make -$(MAKEFLAGS)
|
2005-09-07 10:43:25 +02:00
|
|
|
CC = exec cc
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
all:: acd
|
|
|
|
|
|
|
|
acd: acd.c
|
|
|
|
$(CCLD) -o $@ -DARCH=\"`arch`\" -DDESCR=\"/usr/lib/descr\" $?
|
2005-07-11 14:45:57 +02:00
|
|
|
install -S 50kw $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2006-05-29 14:25:44 +02:00
|
|
|
install:: /usr/bin/acd /usr/bin/cc /usr/bin/m2 /usr/bin/pc \
|
|
|
|
/usr/lib/descr
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/acd: acd
|
|
|
|
install -cs -o bin $? $@
|
|
|
|
|
|
|
|
/usr/bin/cc /usr/bin/m2 /usr/bin/pc: /usr/bin/acd
|
2010-03-08 12:04:59 +01:00
|
|
|
install -l h $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2006-05-29 14:25:44 +02:00
|
|
|
/usr/lib/descr: acd.descr
|
|
|
|
install $? $@
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
clean::
|
|
|
|
rm -rf a.out core acd
|
|
|
|
|
|
|
|
all install clean::
|
|
|
|
cd asmconv && $(MAKE) $@
|
2009-10-30 16:57:35 +01:00
|
|
|
cd gas2ack && $(MAKE) $@
|