-
Notifications
You must be signed in to change notification settings - Fork 20
/
Makefile
executable file
·80 lines (55 loc) · 2.22 KB
/
Makefile
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
all: MSP430 SERVER
MSP430 : main.o utilities.o emu_server.o registers.o memspace.o debugger.o disassembler.o \
register_display.o decoder.o flag_handler.o formatI.o formatII.o formatIII.o \
usci.o port1.o packet_queue.o bcm.o timer_a.o
g++ -o MSP430 main.o emu_server.o utilities.o registers.o memspace.o debugger.o disassembler.o \
register_display.o decoder.o flag_handler.o formatI.o formatII.o formatIII.o usci.o port1.o bcm.o timer_a.o packet_queue.o -lreadline -lwebsockets -lpthread -lrt -lssl -lcrypto;
main.o : main.cpp
g++ -c main.cpp
utilities.o : devices/utilities.c
g++ -c devices/utilities.c
registers.o : devices/cpu/registers.c
g++ -c devices/cpu/registers.c
memspace.o : devices/memory/memspace.c
g++ -c devices/memory/memspace.c
debugger.o : debugger/debugger.c
g++ -c debugger/debugger.c
disassembler.o : debugger/disassembler.c
g++ -c debugger/disassembler.c
register_display.o : debugger/register_display.c
g++ -c debugger/register_display.c
decoder.o : devices/cpu/decoder.c
g++ -c devices/cpu/decoder.c
flag_handler.o : devices/cpu/flag_handler.c
g++ -c devices/cpu/flag_handler.c
formatI.o : devices/cpu/formatI.c
g++ -c devices/cpu/formatI.c
formatII.o : devices/cpu/formatII.c
g++ -c devices/cpu/formatII.c
formatIII.o : devices/cpu/formatIII.c
g++ -c devices/cpu/formatIII.c
bcm.o : devices/peripherals/bcm.c
g++ -c devices/peripherals/bcm.c
timer_a.o : devices/peripherals/timer_a.c
g++ -c devices/peripherals/timer_a.c
usci.o : devices/peripherals/usci.c
g++ -c devices/peripherals/usci.c
port1.o : devices/peripherals/port1.c
g++ -c devices/peripherals/port1.c
emu_server.o : debugger/websockets/emu_server.cpp
g++ -c debugger/websockets/emu_server.cpp
packet_queue.o : debugger/websockets/packet_queue.c
g++ -c debugger/websockets/packet_queue.c
# Server Program
SERVER : server.o
cc -o server server.o -lrt -lpthread -lwebsockets -lssl -lcrypto;
server.o : debugger/server/server.c
cc -c debugger/server/server.c
clean :
rm server.o main.o utilities.o emu_server.o registers.o \
memspace.o debugger.o disassembler.o \
register_display.o decoder.o flag_handler.o formatI.o \
formatII.o formatIII.o \
usci.o port1.o packet_queue.o bcm.o timer_a.o \
*.bin *.tmp *.elf \
MSP430 server;