File: Makefile.dll

package info (click to toggle)
librapi2 0.15-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,864 kB
  • sloc: ansic: 14,036; sh: 10,572; cpp: 851; python: 338; makefile: 229
file content (31 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (2)
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
28
29
30
31
PREFIX = /usr/local/wince/cross-tools

PATH := $(PATH):$(PREFIX)/bin:/var/tmp/synce/bin

#VERBOSE = -v

CC = arm-wince-pe-gcc $(VERBOSE)
CXX = arm-wince-pe-g++ $(VERBOSE)
LD = arm-wince-pe-ld $(VERBOSE)
DLLTOOL = arm-wince-pe-dlltool $(VERBOSE)

CPU=xscale
CPPFLAGS = -g -I$(PREFIX)/include -mcpu=$(CPU) -D__stdcall=
LDFLAGS = -L$(PREFIX)/lib 

LIBS = invokeme.dll
PROGRAMS = 

default: all

all: $(LIBS) $(PROGRAMS) 

invokeme.dll: invokeme.cc
	$(CC) -c -DBUILD_DLL $^
	$(CC) -shared -o invokeme.dll invokeme.o

install: invokeme.dll
	pcp $^ ':/Windows/invokeme.dll'

clean:
	rm -f *.o *.a *.exe *.dll *.exp