File: Makefile

package info (click to toggle)
tirc 1.2-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,316 kB
  • ctags: 1,906
  • sloc: ansic: 19,264; sh: 1,594; makefile: 209; awk: 14
file content (17 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$Id$

CFLAGS	=$(INCLUDES) -I../.. -c -fpic
LDFLAGS	=-shared -call_shared -no_archive
LDFLAGS	=-nostdlib -shared -Xlinker -Bshareable -Xlinker -Bdynamic

all:	hello.so

clean:
	rm -f hello.so *.o *core* so_locations

hello.so:	hello.o
	$(CC) $(LDFLAGS) -o hello.so hello.o

hello.o:	hello.c	../../dlapi.h
	$(CC) $(CFLAGS) -o hello.o hello.c