iotivity 0.9.0
[platform/upstream/iotivity.git] / service / protocol-plugin / lib / cpluff / examples / cpfile / plugins / special / Makefile.nmake
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.
5
6 TOP = ..\..\..
7
8 include ..\..\..\common.nmake
9
10 CFLAGS = /I..\core $(CFLAGS)
11
12 pluginsdir = $(bindir)\cpfile\plugins
13 plugindir = $(pluginsdir)\special
14
15 libspecial_OBJS = special.obj
16
17 all-local: libspecial.dll
18
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)
22
23 clean-local:
24         for %f in ($(libspecial_OBJS) libspecial.*) do if exist %f del %f
25
26 libspecial.dll: $(libspecial_OBJS)
27         cl /nologo /LD /MD /Fe$@ $(libspecial_OBJS) $(cplibdir)\libcpluff.lib