diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 20:07:38 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 20:07:38 +0000 |
| commit | d6bb55476c9aa4771e2b7f24cee05325a1df4117 (patch) | |
| tree | ed830d3c2c748f4c1ed6de25922461d701a805de /src/tools/Makefile.win32 | |
| parent | 0bb13ddf57c968db37a997851650d768641b3528 (diff) | |
Revived Autotools from the grave, although it'll need some tweaking to work alongside CMake now. (In other words, don't use this commit, I committed this so I don't have to re-add these files again if I screw something up.)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1876 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/tools/Makefile.win32')
| -rw-r--r-- | src/tools/Makefile.win32 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/tools/Makefile.win32 b/src/tools/Makefile.win32 new file mode 100644 index 000000000..49cd6b032 --- /dev/null +++ b/src/tools/Makefile.win32 @@ -0,0 +1,29 @@ +include ../../Makefile.inc.win32
+
+SRCS=anopesmtp.c db-merger.c db-convert.c
+OBJECTS= $(SRCS:.c=.exe)
+CFLAGS=$(CFLAGS) /I"../../include"
+LFLAGS=/link wsock32.lib $(LIBS) $(LFLAGS)
+
+all: $(OBJECTS)
+
+distclean: clean spotless
+
+.c.exe:
+ $(CC) $(CFLAGS) $< $(LFLAGS)
+
+clean:
+ -@del *.obj
+
+spotless: clean
+ -@del *.exe *.lib *.exp
+
+install: exe_install manifest_install
+
+exe_install: FRC
+ -@copy *.exe ..\..\$(DATDEST)\
+
+manifest_install: FRC
+ -@copy *.manifest ..\..\$(DATDEST)\
+
+FRC:
|
