aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormusil <tmusil@users.sourceforge.net>2005-06-15 16:27:40 +0000
committermusil <tmusil@users.sourceforge.net>2005-06-15 16:27:40 +0000
commitb34c664be8212a0e131ed90efe9a0d23e0abef65 (patch)
tree2a0c49cdb92fb95c89bb6113d01d5f9890e8ed36
parent3a227b25583ef8db7a89207b6c70889edbe400c9 (diff)
made it work with m$vc
svn path=/trunk/externals/zexy/; revision=3179
-rwxr-xr-xsrc/Makefile.nt96
1 files changed, 43 insertions, 53 deletions
diff --git a/src/Makefile.nt b/src/Makefile.nt
index 8e2fa6f..720dc0b 100755
--- a/src/Makefile.nt
+++ b/src/Makefile.nt
@@ -1,53 +1,43 @@
-# ----------------------- NT -----------------------
-LIBNAME =zexy
-
-
-PREFIX =C:\Programme\pd
-
-
-
-current: $(LIBNAME)
-
-
-
-EXT = dll
-
-CC = cl
-LD = link
-
-
-DEFS = /D__WIN32__ /DPD
-IFLAGS = /I. /I$(PREFIX)\src
-
-AFLAGS =
-LFLAGS = /dll /export:$(LIBNAME)_setup
-WFLAGS = /W3 /WX /nologo
-
-.SUFFIXES: .$(EXT)
-
-PDCFLAGS = /O2 $(DEFS) $(IFLAGS) $(WFLAGS) $(LFLAGS) $(AFLAGS)
-CFLAGS = /O2 $(DEFS) $(IFLAGS) $(WFLAGS)
-
-LIBS = libc.lib oldnames.lib kernel32.lib $(PREFIX)\bin\pd.lib
-
-
-include Make.source
-
-## for LinePrinter-support: (if you don't want it, comment it out)
-SOURCES += winNT_portio.c
-DEFS += /DZ_WANT_LPT
-LIBS +=
-
-
-TARGETS = $(SOURCES:.c=.o)
-
-$(LIBNAME): $(TARGETS)
- $(LD) $(LFLAGS) /out:..\$(LIBNAME).$(EXT) *.obj $(LIBS)
-
-
-clean:
- -del -f *.$(EXT) *.obj ..\$(LIBNAME).lib ..\$(LIBNAME).exp *.lib *.exp
-
-cleaner: clean
- -del -f *~ _* config.* ..\$(LIBNAME).$(EXT)
-
+# ----------------------- NT -----------------------
+LIBNAME=zexy
+
+current: $(LIBNAME)
+
+PREFIX="C:\Programme\pd"
+
+EXT=dll
+CC=cl
+LD=link
+
+DEFS=/D__WIN32__ /DPD /DZEXY_LIBRARY
+IFLAGS=/I. /I$(PREFIX)\src
+AFLAGS=
+WFLAGS=/W3 /WX /nologo
+
+.SUFFIXES: .$(EXT)
+
+include Make.source
+
+## for LinePrinter-support: (if you don't want it, comment it out)
+DEFS = $(DEFS) /DZ_WANT_LPT
+
+
+CFLAGS = /O2 $(DEFS) $(IFLAGS) $(WFLAGS)
+LIBS = libc.lib oldnames.lib kernel32.lib $(PREFIX)\bin\pd.lib
+LFLAGS = /dll /export:$(LIBNAME)_setup
+
+
+TARGETS = $(SOURCES:.c=.obj)
+
+.c.obj:
+ cl $(CFLAGS) /c $*.c
+
+
+$(LIBNAME): $(TARGETS)
+ $(LD) $(LFLAGS) /out:..\$(LIBNAME).$(EXT) *.obj $(LIBS)
+
+clean:
+ -del -f *.$(EXT) *.obj ..\$(LIBNAME).lib ..\$(LIBNAME).exp *.lib *.exp
+
+cleaner: clean
+ -del -f *~ _* config.* ..\$(LIBNAME).$(EXT)