diff options
Diffstat (limited to 'src/modules/makefile.win32')
| -rw-r--r-- | src/modules/makefile.win32 | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/src/modules/makefile.win32 b/src/modules/makefile.win32 index 13133e0b7..5a6d62ad9 100644 --- a/src/modules/makefile.win32 +++ b/src/modules/makefile.win32 @@ -5,20 +5,37 @@ OBJECTS= $(SRCS:.c=.dll) CFLAGS=/LD /MD /D MODULE_COMPILE $(CFLAGS) /I"../../include" LFLAGS=/link ../anope.lib wsock32.lib $(LIBS) $(LFLAGS) $(MYSQL_LIB_PATH) /export:AnopeInit /export:AnopeFini -all: $(OBJECTS) +all: $(OBJECTS) subs distclean: clean spotless .c.dll: $(CC) $(CFLAGS) $(IRCTYPE) $< $(LFLAGS) -clean: + +subs: + @for %i in ( $(SUBS) ); do \ + @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) && cd .. + +clean: subs-clean -@del *.obj -spotless: clean +subs-clean: + @for %i in ( $(SUBS) ); do \ + @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) clean && cd .. + +spotless: clean subs-spotless -@del *.dll *.lib *.exp + +subs-spotless: + @for %i in ( $(SUBS) ); do \ + @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) spotless && cd .. install: -@mkdir ..\..\$(DATDEST)\modules -@mkdir ..\..\$(DATDEST)\modules\runtime -@copy *.dll ..\..\$(DATDEST)\modules + +subs-install: install + @for i in ( $(SUBS) ); do \ + @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) install && cd .. |
