diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-04-23 18:18:52 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-04-23 18:18:52 +0000 |
commit | fb8fb9cdcd454b519d688afe96250afa6133a9e1 (patch) | |
tree | 5da55951be56f24c1601cb23de5f0292e6fae29e | |
parent | d07a93c709c70e4ab8a50e92f18503d0a7418e55 (diff) |
a makefile for Gnu make and M$-VisualC++Toolkit
svn path=/trunk/externals/zexy/; revision=2810
-rwxr-xr-x | src/Makefile.nt | 53 |
1 files changed, 53 insertions, 0 deletions
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)
+
|