Initial commit of newLISP.
[newlisp.git] / makefile_mingwdll
blobc56fb96e696badac2505ae79f32e4eeb190983ea
1 # makefile for newLISP  DLL v. 9.x.x on MinGW DLL
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 win32-util.o win32-path.o win32dll.o
7 CFLAGS = -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY 
9 CC = /MinGW/bin/gcc
10 STRIP = /MinGW/bin/strip
11 WRAP = /MinGW/bin/dllwrap
13 default: $(OBJS)
14         $(WRAP) *.o --enable-stdcall-fixup --def win32dll.def -o newlisp.dll -lws2_32
15         $(STRIP) newlisp.dll
17 .c.o:
18         $(CC) $(CFLAGS) $<
20 $(OBJS): primes.h protos.h makefile_mingwdll