14 lines
272 B
Makefile
14 lines
272 B
Makefile
CXXFLAGS = -std=c++14
|
|
LDFLAGS = -lm
|
|
|
|
gen_ft8: gen_ft8.o encode.o pack.o text.o pack_77.o encode_91.o
|
|
$(CXX) $(LDFLAGS) -o $@ $^
|
|
|
|
.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 $@ $^
|
|
|