-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
33 lines (22 loc) · 1 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
All: Setup TestComponents TestVmPipelines TestVmControlUnit TestVmStages TestVmBusPeripherals TestVirtualMachine LeVirtualMachine
Setup:
-mkdir debug
-mkdir bin
TestComponents: TestVmComponents.cpp
g++ -std=gnu++11 -fpack-struct=1 -o ./debug/TestVmComponents TestVmComponents.cpp
TestVmPipelines: TestVmPipelines.cpp
g++ -std=gnu++11 -fpack-struct=1 -o ./debug/TestVmPipelines TestVmPipelines.cpp
TestVmControlUnit: TestVmControlUnit.cpp
g++ -std=gnu++11 -fpack-struct=1 -o ./debug/TestVmControlUnit TestVmControlUnit.cpp
TestVmStages: TestVmStages.cpp
g++ -std=gnu++11 -fpack-struct=1 -o ./debug/TestVmStages TestVmStages.cpp
TestVmBusPeripherals: TestVmBusPeripherals.cpp
g++ -std=gnu++11 -fpack-struct=1 -o ./debug/TestVmBusPeripherals TestVmBusPeripherals.cpp
TestVirtualMachine:
g++ -std=gnu++11 -g -fpack-struct=1 -o ./debug/TestVirtualMachine TestVirtualMachine.cpp
LeVirtualMachine:
g++ -std=gnu++11 -O2 -o ./bin/LeVirtualMachine LeVirtualMachine.cpp
clean:
-rm *.o
-rm -r ./debug/
-rm -r ./bin/