all: .depends test CXX=clang++ CXXFLAGS=-Wall LDFLAGS=-lliquid .depends: *.cpp $(CXX) -M *.cpp > .depends %.o : %.cpp $(CXX) $(CFLAGS) -c $< -o $@ test: test.o costas-beacon-sync.o fft-beacon-finder.o $(CXX) $(LDFLAGS) -o $@ $+ clean: rm *.o format: clang-format -i *.h *.cpp include .depends .PHONY: clean fmt