1 # Set this to the directory containing perl includes and libraries
2 PERLDIR = c:\perl\5.6.0\lib\MSWin32-x86\CORE
5 CFLAGS = -DWIN32 -D_X86_ -D__i386__ -I$(PERLDIR)
6 PERLLIB = -libpath:$(PERLDIR) perl56.lib
7 PERLMAKE = $(MAKE) /fMakefile.perl "DEFINE=$(CFLAGS)"
9 OBJS = winetest.obj wine.obj
14 link -out:$@ $(LDFLAGS) $(OBJS) $(PERLLIB)
16 winetest.obj: winetest.c
17 $(CC) $(CFLAGS) winetest.c
19 wine.obj: wine.xs Makefile.perl
22 Makefile.perl: Makefile.PL
26 del winetest.exe $(OBJS)