Initial commit of newLISP.
[newlisp.git] / makefile_mingwdll_utf8
blob87e7a3c1cdfb80ed845df84e0c98d2d693320699
1 # makefile for newLISP  v. 9.x.x on MinGW DLL with UTF-8 support
4 OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o nl-sock.o \
5         nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o win32-util.o \
6         win32-path.o win32dll.o
8 CFLAGS = -Wall -pedantic -Wno-uninitialized -Wno-long-long -c -O1 -DLIBRARY -DSUPPORT_UTF8 -DWIN_32
10 CC = /MinGW/bin/gcc
11 STRIP = /MinGW/bin/strip
12 WRAP = /MinGW/bin/dllwrap
14 default: $(OBJS)
15         $(WRAP) *.o --enable-stdcall-fixup --def win32dll.def -o newlisp.dll -lws2_32
16         $(STRIP) newlisp.dll
18 .c.o:
19         $(CC) $(CFLAGS) $<
21 $(OBJS): primes.h protos.h makefile_mingwdll_utf8