-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (36 loc) · 1.83 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
all: pipelinesimulator main.cpp pipeline.hpp parser.hpp simulator.hpp configuration.hpp requirements.hpp 5stage.cpp 5stage_bypass.cpp 79stage.cpp 79stage_bypass.cpp
compile : main.cpp pipeline.hpp parser.hpp simulator.hpp configuration.hpp requirements.hpp 5stage.cpp 5stage_bypass.cpp 79stage.cpp 79stage_bypass.cpp
g++ main.cpp -o pipelinesimulator.o
g++ 5stage.cpp -o pipelinesimulator5.o
g++ 5stage_bypass.cpp -o pipelinesimulator5b.o
g++ 79stage.cpp -o pipelinesimulator79.o
g++ 79stage_bypass.cpp -o pipelinesimulator79b.o
clean:
rm pipelinesimulator
rm pipelinesimulator5
rm pipelinesimulator5b
rm pipelinesimulator79
rm pipelinesimulator79b
pipelinesimulator: requirements.hpp pipeline.hpp parser.hpp simulator.hpp configuration.hpp main.cpp
g++ main.cpp -o pipelinesimulator.o
pipelinesimulator5: requirements.hpp pipeline.hpp parser.hpp simulator.hpp configuration.hpp 5stage.cpp
g++ 5stage.cpp -o pipelinesimulator5.o
pipelinesimulator5b: requirements.hpp pipeline.hpp parser.hpp simulator.hpp configuration.hpp 5stage_bypass.cpp
g++ 5stage_bypass.cpp -o pipelinesimulator5b.o
pipelinesimulator79: requirements.hpp pipeline.hpp parser.hpp simulator.hpp configuration.hpp 79stage.cpp
g++ 79stage.cpp -o pipelinesimulator79.o
pipelinesimulator79b: requirements.hpp pipeline.hpp parser.hpp simulator.hpp configuration.hpp 79stage_bypass.cpp
g++ 79stage_bypass.cpp -o pipelinesimulator79b.o
run_5stage: pipelinesimulator5
./pipelinesimulator5.o 1 input.asm
run_5stage_bypass: pipelinesimulator5b
./pipelinesimulator5b.o 2 input.asm
run_79stage: pipelinesimulator79
./pipelinesimulator79.o 3 input.asm
run_79stage_bypass: pipelinesimulator79b
./pipelinesimulator79b.o 4 input.asm
main: pipelinesimulator
./pipelinesimulator 1 input.asm
./pipelinesimulator 2 input.asm
./pipelinesimulator 3 input.asm
./pipelinesimulator 4 input.asm