build(makefile): added proper .PHONY target

This commit is contained in:
Nicholas Nadeau
2022-09-26 10:48:38 -04:00
parent f3b9536c89
commit 0ca12b3171
+1
View File
@@ -4,6 +4,7 @@
COMMON=-O2 -I../include -L../lib -std=c++17 -pthread -Wl,-no-as-needed -Wl,-rpath,'$$ORIGIN'/../lib
.PHONY: all
all:
$(CXX) $(COMMON) testxml.cc -lmujoco -o ../bin/testxml
$(CXX) $(COMMON) testspeed.cc -lmujoco -o ../bin/testspeed