Fix clang warnings and crashes
This commit is contained in:
+4
-1
@@ -129,9 +129,12 @@ clean:
|
||||
# -$(MAKE) -C ../enet/ clean
|
||||
|
||||
%.h.gch: %.h
|
||||
$(CXX) $(CXXFLAGS) -o $@.tmp $(subst .h.gch,.h,$@)
|
||||
$(CXX) $(CXXFLAGS) -x c++-header -o $@.tmp $(subst .h.gch,.h,$@)
|
||||
$(MV) $@.tmp $@
|
||||
|
||||
rendermodel.o: rendermodel.cpp
|
||||
$(CXX) $(CXXFLAGS) -fno-strict-aliasing -c -o $@ $(subst .o,.cpp,$@)
|
||||
|
||||
%-standalone.o: %.cpp
|
||||
$(CXX) $(CXXFLAGS) -c -o $@ $(subst -standalone.o,.cpp,$@)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user