kgoba-ft8_lib/Makefile

19 wiersze
501 B
Makefile
Czysty Zwykły widok Historia

2018-11-02 12:03:28 +00:00
CXXFLAGS = -std=c++14 -I.
2018-10-18 07:42:43 +00:00
LDFLAGS = -lm
.PHONY: run_tests all
2018-11-01 14:21:40 +00:00
2018-11-12 10:49:35 +00:00
all: gen_ft8 decode_ft8 test
2018-11-01 14:21:40 +00:00
run_tests: test
@./test
gen_ft8: gen_ft8.o ft8/encode.o ft8/pack.o ft8/text.o ft8/pack_v2.o ft8/encode_v2.o common/wave.o
$(CXX) $(LDFLAGS) -o $@ $^
2018-11-02 13:43:10 +00:00
test: test.o ft8/encode.o ft8/pack.o ft8/text.o ft8/pack_v2.o ft8/encode_v2.o ft8/unpack.o
2018-11-01 14:21:40 +00:00
$(CXX) $(LDFLAGS) -o $@ $^
2018-11-20 15:04:05 +00:00
decode_ft8: decode_ft8.o fft/kiss_fftr.o fft/kiss_fft.o ft8/ldpc.o ft8/unpack.o ft8/text.o common/wave.o
2018-11-12 10:49:35 +00:00
$(CXX) $(LDFLAGS) -o $@ $^