add mrproper target to fix enet build
Sometimes the enet build seems to get messed up and "make" won't work anymore in ../enet. The mrproper target tries to clean up ../enet, but if it doesn't work, it deletes ../enet/Makefile manually. This triggers a configure run in ../enet with the next make invocation - which should fix everything.
This commit is contained in:
+4
-1
@@ -139,7 +139,10 @@ clean-enet: ../enet/Makefile
|
||||
|
||||
clean:
|
||||
-$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) $(MASTER_OBJS) ac_client ac_server ac_master
|
||||
# -$(MAKE) -C ../enet/ clean
|
||||
|
||||
mrproper: clean ../enet/Makefile
|
||||
$(MAKE) -C ../enet/ distclean
|
||||
-$(RM) ../enet/Makefile
|
||||
|
||||
%.h.gch: %.h
|
||||
$(CXX) $(CXXFLAGS) -x c++-header -o $@.tmp $(subst .h.gch,.h,$@)
|
||||
|
||||
Reference in New Issue
Block a user