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
Line 
1CC = /soft/compilers/bgclang/wbin/bgclang
2CFLAGS = -O3 -g
3
4CPPFLAGS =
5LDFLAGS = -lpthread -ldl
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.