build(makefile): added proper .PHONY target

This commit is contained in:
Nicholas Nadeau
2022-09-26 10:49:08 -04:00
parent 0ca12b3171
commit f637dd76d5
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ CFLAGS=-O2 -F$(MUJOCOPATH) -I$(GLFWROOT)/include -pthread
CXXFLAGS=$(CFLAGS) -std=c++17 -stdlib=libc++
ALLFLAGS=$(CXXFLAGS) -L$(GLFWROOT)/lib -Wl,-rpath,$(MUJOCOPATH)
.PHONY: all
all:
clang++ $(ALLFLAGS) testxml.cc -framework mujoco -o testxml
clang++ $(ALLFLAGS) testspeed.cc -framework mujoco -o testspeed
+1
View File
@@ -8,6 +8,7 @@
COMMON=/O2 /MT /EHsc /arch:AVX /I../include /Fe../bin/
.PHONY: all
all:
cl $(COMMON) testxml.cc ../lib/mujoco.lib
cl $(COMMON) testspeed.cc ../lib/mujoco.lib