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