minix/commands/i386/asmconv/Makefile

33 lines
739 B
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for asmconv.
CFLAGS= $(OPT)
LDFLAGS= -i
2005-09-07 10:43:25 +02:00
CC = exec cc
2005-04-21 16:53:53 +02:00
all: asmconv
OBJ= asm86.o asmconv.o parse_ack.o parse_gnu.o parse_bas.o \
tokenize.o emit_ack.o emit_gnu.o
asmconv: $(OBJ)
$(CC) $(LDFLAGS) -o $@ $(OBJ)
install -S 8kw $@
install: /usr/bin/asmconv
2005-04-21 16:53:53 +02:00
/usr/bin/asmconv: asmconv
2005-04-21 16:53:53 +02:00
install -cs -o bin asmconv $@
clean:
rm -f $(OBJ) asmconv core
# Dependencies.
asm86.o: asm86.h asmconv.h token.h
asmconv.o: asmconv.h languages.h asm86.h
parse_ack.o: asmconv.h languages.h token.h asm86.h
parse_gnu.o: asmconv.h languages.h token.h asm86.h
parse_bas.o: asmconv.h languages.h token.h asm86.h
tokenize.o: asmconv.h token.h
emit_ack.o: asmconv.h languages.h token.h asm86.h
emit_gnu.o: asmconv.h languages.h token.h asm86.h