-
Notifications
You must be signed in to change notification settings - Fork 1
/
.old_makefile
executable file
·29 lines (23 loc) · 1.24 KB
/
.old_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
CC=g++
flags=-std=c++0x -pthread
boost=-I /usr/local/boost_1_63_0
consumers=Consumer.cpp QueuedConsumer.cpp Logging.cpp Ignition/Ignition.cpp Echo.cpp
producers=Producer.cpp
helpers=Bisem.cpp MessageQueue.cpp
fueling=Fueling/Valve.cpp Fueling/Valve_Control.cpp Fueling/Valve_Interface.cpp Fueling/Valve_Parser.cpp
simulator=Simulator/Testing_Producer.cpp
drivers=Drivers/MS5607_Driver.cpp Drivers/Instrumentation.cpp
comms=Communication/Comms.cpp Communication/Network.cpp
#this target is for when we are on a vm that doesn't have the bcm libraries
all:
$(CC) $(flags) $(boost) main.cpp $(consumers) $(producers) $(helpers) $(fueling) $(simulator) $(comms) -o fcmain
#this target is for when we are on the pi and can compile the gpio libraries
drivers:
$(CC) $(flags) $(boost) main.cpp $(consumers) $(producers) $(helpers) $(fueling) $(simulator) $(comms) $(drivers) -o fcmain
#this target creates the valve parse verification program
valve-parse:
$(CC) $(flags) $(boost) Fueling/valve_parse_main.cpp $(consumers) $(producers) $(helpers) $(fueling) $(simulator) $(comms) -o Fueling/valve_parse
debug:
$(CC) $(flags) $(boost) -g main.cpp $(consumers) $(producers) $(helpers) $(fueling) $(simulator) $(drivers) -o fc_debug
clean:
rm fcmain fc_debug logfile.txt