1 # C-Pluff examples build system for MSVC
2 # Copyright 2007 Johannes Lehtinen
3 # This file is free software; Johannes Lehtinen gives unlimited permission
4 # to copy, distribute and modify it.
8 include ..\..\..\common.nmake
10 CFLAGS = /I..\core $(CFLAGS)
12 pluginsdir = $(bindir)\cpfile\plugins
13 plugindir = $(pluginsdir)\special
15 libspecial_OBJS = special.obj
17 all-local: libspecial.dll
19 install-local: all-local
20 if not exist $(plugindir) mkdir $(plugindir)
21 for %f in (plugin.xml libspecial.dll) do copy /y %f $(plugindir)
24 for %f in ($(libspecial_OBJS) libspecial.*) do if exist %f del %f
26 libspecial.dll: $(libspecial_OBJS)
27 cl /nologo /LD /MD /Fe$@ $(libspecial_OBJS) $(cplibdir)\libcpluff.lib