source: Makefile @ 14e2ab9

Revision 14e2ab9, 375 bytes checked in by Hal Finkel <hfinkel@…>, 9 years ago (diff)

rm support for libunwind; only using backtrace() now

  • Property mode set to 100644
RevLine 
[0ec59c5]1CC = /soft/compilers/bgclang/wbin/bgclang
2CFLAGS = -O3 -g
3
[14e2ab9]4CPPFLAGS =
5LDFLAGS = -lpthread -ldl
[0ec59c5]6
7all: memlog.so memlog.a
8
9memlog.a: memlog.c
10        rm -f memlog.o
11        $(CC) $(CPPFLAGS) $(CFLAGS) -c -o memlog.o memlog.c
12        ar cr memlog.a memlog.o
13
14memlog.so: memlog.c
15        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o memlog.so memlog.c
16
17clean:
18        rm -f memlog.o memlog.a memlog.so
19
Note: See TracBrowser for help on using the repository browser.