minix/commands/i386/asmconv/Makefile
2009-11-09 10:26:00 +00:00

32 lines
739 B
Makefile

# Makefile for asmconv.
CFLAGS= $(OPT)
LDFLAGS= -i
CC = exec cc
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/lib/asmconv
/usr/lib/asmconv: asmconv
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