diff options
| author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-02-27 18:02:12 +0000 |
|---|---|---|
| committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-02-27 18:02:12 +0000 |
| commit | 530199c7bff0bbef49324609f1a1c1b6e566307e (patch) | |
| tree | 9c9dcd406b8b53e18976a1a6271400f5dafe065c /src/modules/makefile.win32 | |
| parent | 03079a5cebecc0d3d2bcb1e3c6b9bc475319cc23 (diff) | |
BUILD : 1.7.8 (586) BUGS : N/A NOTES : Added multifile module support for win32 - thanks heinz :)
git-svn-id: svn://svn.anope.org/anope/trunk@586 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@436 5417fbe8-f217-4b02-8779-1006273d7864
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 .. |
