Rev | Line | |
---|
[9] | 1 | # Makefile for asmconv.
|
---|
| 2 |
|
---|
| 3 | CFLAGS= $(OPT)
|
---|
| 4 | LDFLAGS= -i
|
---|
| 5 | CC = exec cc
|
---|
| 6 |
|
---|
| 7 | all: asmconv
|
---|
| 8 |
|
---|
| 9 | OBJ= asm86.o asmconv.o parse_ack.o parse_gnu.o parse_bas.o \
|
---|
| 10 | tokenize.o emit_ack.o emit_gnu.o
|
---|
| 11 |
|
---|
| 12 | asmconv: $(OBJ)
|
---|
| 13 | $(CC) $(LDFLAGS) -o $@ $(OBJ)
|
---|
| 14 | install -S 8kw $@
|
---|
| 15 |
|
---|
| 16 | install: /usr/lib/asmconv
|
---|
| 17 |
|
---|
| 18 | /usr/lib/asmconv: asmconv
|
---|
| 19 | install -cs -o bin asmconv $@
|
---|
| 20 |
|
---|
| 21 | clean:
|
---|
| 22 | rm -f $(OBJ) asmconv core
|
---|
| 23 |
|
---|
| 24 | # Dependencies.
|
---|
| 25 | asm86.o: asm86.h asmconv.h token.h
|
---|
| 26 | asmconv.o: asmconv.h languages.h asm86.h
|
---|
| 27 | parse_ack.o: asmconv.h languages.h token.h asm86.h
|
---|
| 28 | parse_gnu.o: asmconv.h languages.h token.h asm86.h
|
---|
| 29 | parse_bas.o: asmconv.h languages.h token.h asm86.h
|
---|
| 30 | tokenize.o: asmconv.h token.h
|
---|
| 31 | emit_ack.o: asmconv.h languages.h token.h asm86.h
|
---|
| 32 | emit_gnu.o: asmconv.h languages.h token.h asm86.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.