From 372bcfd3cd94aa7c33ae37a4623f6abd67976572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sun, 23 Oct 2005 19:56:27 +0000 Subject: compiled with vc7 svn path=/trunk/externals/zexy/; revision=3760 --- src/Makefile.nt | 90 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 43 deletions(-) (limited to 'src') diff --git a/src/Makefile.nt b/src/Makefile.nt index 720dc0b..c92727b 100755 --- a/src/Makefile.nt +++ b/src/Makefile.nt @@ -1,43 +1,47 @@ -# ----------------------- 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) +# ----------------------- NT ----------------------- + +.PHONY: clean cleaner all zexy + +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 + +## for LinePrinter-support: (if you don't want it, comment it out) +DEFS += /DZ_WANT_LPT + +.SUFFIXES: .$(EXT) + +SOURCES=$(sort $(filter %.c, $(wildcard *.c))) + +CFLAGS = /O2 $(DEFS) $(IFLAGS) $(WFLAGS) +LIBS = libc.lib oldnames.lib kernel32.lib pd.lib +LFLAGS = /dll /export:$(LIBNAME)_setup /LIBPATH:"$(PREFIX)\bin" + + +TARGETS = $(SOURCES:.c=.obj) + + +$(TARGETS): %.obj : %.c + $(CC) $(CFLAGS) /c $*.c + + +$(LIBNAME): $(TARGETS) + $(LD) $(LFLAGS) /out:$(LIBNAME).$(EXT) *.obj $(LIBS) + +clean: + del /f *.obj $(LIBNAME).$(EXT) + +cleaner: clean + del /f *~ _* config.* $(LIBNAME).$(EXT) + -- cgit v1.2.1