1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 18:06:39 +02:00
Files
anope/src/modules/makefile.win32
T
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e058391883 BUILD : 1.7.8 (753) BUGS : N/a NOTES : Merged anope-dev with trunk
git-svn-id: svn://svn.anope.org/anope/trunk@753 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@516 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02 19:02:12 +00:00

42 lines
1.0 KiB
Plaintext

include ../../Makefile.inc.win32
include ./Makefile.inc.win32
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) subs
distclean: clean spotless
.c.dll:
$(CC) $(CFLAGS) $(IRCTYPE) $< $(LFLAGS)
subs:
@for %i in ( $(SUBS) ); do \
@if exist %i; @cd %i && $(MAKE) $(MAKEARGS) && cd ..
clean: subs-clean
-@del *.obj
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 ..