Fix gcc compilation due to nix problem

This commit is contained in:
2021-10-12 18:51:24 +02:00
parent 517c90704a
commit 93638c4488
3 changed files with 25 additions and 25 deletions

View File

@@ -73,12 +73,15 @@ bench: $(BENCH_TARGETS)
.PHONY: clean tangle bench
%: %.o
$(info [bin] $@)
$(CXX) $< $(CXXFLAGS) $(LDFLAGS) -o $@
%.o: %.cxx
$(info [obj] $@)
$(CXX) -c $< $(CXXFLAGS) -o $@
%.d: %.cxx
$(info [dep] $@)
$(CXX) -M $< $(CXXFLAGS) -o $@
.PHONY: install