-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (16 loc) · 701 Bytes
/
Makefile
File metadata and controls
26 lines (16 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: all
CFLAGS += -g -ggdb -Wall
all: m68em m68em_tmr
m68em: m68_ops.o m68emu.o m68test.o
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
m68em_tmr:m68_ops.o m68emu.o m68test.o m68tmr.o
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
m68_ops.o: m68_optab_hc05.h m68_internal.h m68emu.h
m68emu.o: m68_internal.h m68emu.h
#m68_internal_template.h: optable/opcodes_m68hc05.csv optable/makeoptab.py m68emu.h
# ./optable/makeoptab.py $< m68op prototypes > $@
#
#m68_op_template.c: optable/opcodes_m68hc05.csv m68emu.h optable/makeoptab.py
# ./optable/makeoptab.py $< m68op boilerplate > $@
m68_optab_hc05.h: optable/opcodes_m68hc05.csv m68emu.h optable/makeoptab.py
./optable/makeoptab.py $< m68hc05 optable > $@