fm_transmitter/makefile

25 wiersze
685 B
Makefile
Czysty Zwykły widok Historia

EXECUTABLE = fm_transmitter
2020-03-20 23:25:14 +00:00
VERSION = 0.9.4
2019-09-19 22:53:36 +00:00
FLAGS = -Wall -O3 -std=c++11
2015-08-07 04:39:55 +00:00
all: main.o mailbox.o sample.o wave_reader.o transmitter.o
g++ -L/opt/vc/lib -lm -lpthread -lbcm_host -o $(EXECUTABLE) main.o mailbox.o sample.o wave_reader.o transmitter.o
2016-03-16 17:08:00 +00:00
mailbox.o: mailbox.c mailbox.h
g++ $(FLAGS) -c mailbox.c
2015-08-07 04:39:55 +00:00
2019-09-19 22:53:36 +00:00
sample.o: sample.cpp sample.hpp
g++ $(FLAGS) -c sample.cpp
2015-08-07 04:39:55 +00:00
2019-09-19 22:53:36 +00:00
wave_reader.o: wave_reader.cpp wave_reader.hpp
g++ $(FLAGS) -c wave_reader.cpp
2015-08-07 04:39:55 +00:00
2019-09-19 22:53:36 +00:00
transmitter.o: transmitter.cpp transmitter.hpp
2019-01-08 08:54:44 +00:00
g++ $(FLAGS) -fno-strict-aliasing -I/opt/vc/include -c transmitter.cpp
2015-08-07 04:39:55 +00:00
main.o: main.cpp
g++ $(FLAGS) -DVERSION=\"$(VERSION)\" -DEXECUTABLE=\"$(EXECUTABLE)\" -c main.cpp
2015-08-07 04:39:55 +00:00
clean:
rm *.o