File: Makefile.lib

package info (click to toggle)
xppaut 5.85-3.3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 11,568 kB
  • ctags: 7,729
  • sloc: ansic: 80,804; cpp: 965; makefile: 271
file content (21 lines) | stat: -rw-r--r-- 219 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
#
# library
#
MYLIB=example
MYLIB_OBJ=funexample.o

$(MYLIB): $(MYLIB_OBJ)
	$(CC) -shared -o libexample.so  $(MYLIB_OBJ)


funexample.o:  funexample.c
	$(CC) -fpic -c funexample.c
	
# 
# export LD_LIBRARY_PATH=.
#