From b34c664be8212a0e131ed90efe9a0d23e0abef65 Mon Sep 17 00:00:00 2001 From: musil Date: Wed, 15 Jun 2005 16:27:40 +0000 Subject: made it work with m$vc svn path=/trunk/externals/zexy/; revision=3179 --- src/Makefile.nt | 96 ++++++++++++++++++++++++++------------------------------- 1 file 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) -- cgit v1.2.1