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:
ac-stef
2015-02-08 17:46:11 +01:00
parent 64f378154d
commit d7c2c8333a
+4 -1
View File
@@ -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,$@)