commit 5f565a3e630dba210166c34db596e035bad69c3b parent 94dc80d948119268183f528f92cb620a2e0210ac Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Sep 28 22:04:29 +0300 Fix building test_lockfree and clean up make clean Diffstat:
Makefile | | | 2 | +- |
rules.mk | | | 2 | +- |
diff --git a/Makefile b/Makefile @@ -16,7 +16,7 @@ hm.so: hm.o heightmap.o terrain_manager.o lz4.o btt.o gpubtt.o skybox.o btt.so: mod_btt.o btt.o gpubtt.o heightmap.o skybox.o stb_image.o sm.so: shadow_map.o -test_lockfree: relacy.cc nonblocking_fixed_spmc_queue.h nonblocking_fixed_spsc_queue.h +test_lockfree: relacy.cc $(CXX) relacy.cc -o test_lockfree $(CXXFLAGS) $(LDFLAGS) -std=c++98 -fexceptions -frtti -Wno-missing-field-initializers # Common dependencies diff --git a/rules.mk b/rules.mk @@ -27,7 +27,7 @@ $(MODULES): %.so: $(COMMON_OBJS) $(CXX) -c -o $@ $< -MMD -MP -MF .deps/$(subst /,_,$*).d $(CXXFLAGS) clean: - rm -f $(BINS) $(MODULES) *.o *.so $(STB_CCS) $* opengl*.cc opengl*.h + rm -f $(BINS) $(MODULES) *.o *.so $(STB_CCS) test_lockfree lint: oclint \