-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
61 lines (41 loc) · 967 Bytes
/
Makefile
File metadata and controls
61 lines (41 loc) · 967 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
OBJECTS=main.o mem.o i8088.o i8088_trace.o io.o fe2010.o mos5720.o fdc9268.o m6242.o xthdc.o i8250.o dp8390.o net.o edfs.o console.o debugger.o
CFLAGS=-Wall -Wextra -DCPU_RELAX -DCPU_TRACE -DBREAKPOINT
LDFLAGS=-lncurses
all: pc20iii
pc20iii: ${OBJECTS}
gcc -o pc20iii $^ ${LDFLAGS}
main.o: main.c
gcc -c $^ ${CFLAGS}
mem.o: mem.c
gcc -c $^ ${CFLAGS}
i8088.o: i8088.c
gcc -c $^ ${CFLAGS}
i8088_trace.o: i8088_trace.c
gcc -c $^ ${CFLAGS}
io.o: io.c
gcc -c $^ ${CFLAGS}
fe2010.o: fe2010.c
gcc -c $^ ${CFLAGS}
mos5720.o: mos5720.c
gcc -c $^ ${CFLAGS}
fdc9268.o: fdc9268.c
gcc -c $^ ${CFLAGS}
m6242.o: m6242.c
gcc -c $^ ${CFLAGS}
xthdc.o: xthdc.c
gcc -c $^ ${CFLAGS}
i8250.o: i8250.c
gcc -c $^ ${CFLAGS}
dp8390.o: dp8390.c
gcc -c $^ ${CFLAGS}
net.o: net.c
gcc -c $^ ${CFLAGS}
edfs.o: edfs.c
gcc -c $^ ${CFLAGS}
console.o: console.c
gcc -c $^ ${CFLAGS}
debugger.o: debugger.c
gcc -c $^ ${CFLAGS}
.PHONY: clean
clean:
rm -f *.o pc20iii