File: Makefile.nmake

package info (click to toggle)
kodi 16.1%2Bdfsg1-2~bpo8%2B2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 73,324 kB
  • sloc: cpp: 592,417; xml: 59,388; ansic: 58,092; makefile: 4,978; sh: 4,938; python: 2,936; java: 1,065; perl: 997; objc: 982; cs: 624; asm: 294; sed: 16
file content (27 lines) | stat: -rw-r--r-- 722 bytes parent folder | download | duplicates (6)
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