3bcfb76e45
- put asmconv in /usr/bin so it can be invoked without absolute path - make it ignore .end in gnu output mode so that it can be invoked without '|| true' in the gnu lib makefiles and it doesn't produce the messy error message
32 lines
739 B
Makefile
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/bin/asmconv
|
|
|
|
/usr/bin/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
|