projects
/
freerunner-navigation-board:bmp085.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Vala bindings and examples added. Minor clean-up in header file
[freerunner-navigation-board:bmp085.git]
/
userspace
/
Makefile
1
CC=$(CROSS_COMPILE)gcc
2
AR=$(CROSS_COMPILE)ar
3
4
ALL: libbmp085.so libbmp085.a
5
6
libbmp085.so: bmp085.o
7
$(CC) -shared -Wl,-soname,libbmp085.so -o libbmp085.so bmp085.o
8
9
libbmp085.a: bmp085.o
10
$(AR) rcs libbmp085.a bmp085.o
11
12
bmp085.o: bmp085.c
13
$(CC) -c -fPIC -o bmp085.o bmp085.c
14
15
execute: bmp085.c
16
$(CC) -o test.o bmp085.c
17
18
clean:
19
rm *.o
20
rm *.so
21
rm *.a