2018-10-18 15:42:43 +08:00
|
|
|
CXXFLAGS = -std=c++14
|
|
|
|
LDFLAGS = -lm
|
|
|
|
|
2018-10-29 21:28:46 +08:00
|
|
|
gen_ft8: gen_ft8.o encode.o pack.o text.o pack_77.o encode_91.o
|
2018-10-18 15:42:43 +08:00
|
|
|
$(CXX) $(LDFLAGS) -o $@ $^
|
2018-11-01 22:21:40 +08:00
|
|
|
|
|
|
|
.PHONY: run_tests
|
|
|
|
|
|
|
|
run_tests: test
|
|
|
|
@./test
|
|
|
|
|
|
|
|
test: test.o encode.o pack.o text.o pack_77.o encode_91.o unpack.o
|
|
|
|
$(CXX) $(LDFLAGS) -o $@ $^
|
|
|
|
|