From fb8fb9cdcd454b519d688afe96250afa6133a9e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sat, 23 Apr 2005 18:18:52 +0000 Subject: a makefile for Gnu make and M$-VisualC++Toolkit svn path=/trunk/externals/zexy/; revision=2810 --- src/Makefile.nt | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 src/Makefile.nt (limited to 'src/Makefile.nt') diff --git a/src/Makefile.nt b/src/Makefile.nt new file mode 100755 index 0000000..688d455 --- /dev/null +++ b/src/Makefile.nt @@ -0,0 +1,53 @@ +# ----------------------- NT ----------------------- +LIBNAME =zexy + + +PREFIX =C:\Programme\pd + + + +current: $(LIBNAME) + + + +EXT = dll + +CC = cl +LD = link + + +DEFS = /DNT /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) + -- cgit v1.2.1