From 3093928d95ae39ee4516cdcf662e45ac92c1a4c0 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Thu, 8 Jul 2010 20:28:05 +1200 Subject: [PATCH] Move lint checking to the mods themselves; don't compile aftermath (the rules have bitrotted so lint always fails) --- Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1434e84679..86870e8eac 100644 --- a/Makefile +++ b/Makefile @@ -82,11 +82,9 @@ ralint_LIBS = $(COMMON_LIBS) $(ralint_DEPS) # -platform:x86 .SUFFIXES: -.PHONY: clean all default mods seqed mapcvtr install uninstall +.PHONY: clean all default mods install uninstall all: $(fileformats_TARGET) $(gl_TARGET) $(game_TARGET) $(ra_TARGET) $(cnc_TARGET) $(aftermath_TARGET) $(seqed_TARGET) $(mapcvtr_TARGET) $(editor_TARGET) $(ralint_TARGET) - mono ralint.exe ra - mono ralint.exe cnc clean: @-rm *.exe *.dll *.mdb mods/**/*.dll mods/**/*.mdb @@ -130,7 +128,14 @@ uninstall: @-rm -r $(INSTALL_DIR) @-rm $(DESTDIR)$(bindir)/openra -mods: $(ra_TARGET) $(cnc_TARGET) $(aftermath_TARGET) +mod_ra: $(ra_TARGET) $(ralint_TARGET) + mono ralint.exe ra +mod_aftermath: $(aftermath_TARGET) $(ralint_TARGET) + mono ralint.exe ra aftermath +mod_cnc: $(cnc_TARGET) $(ralint_TARGET) + mono ralint.exe cnc + +mods: mod_ra mod_cnc seqed: $(seqed_TARGET) mapcvtr: $(mapcvtr_TARGET) editor: $(editor_TARGET)