Revision 14e2ab9,
375 bytes
checked in by Hal Finkel <hfinkel@…>, 10 years ago
(diff) |
rm support for libunwind; only using backtrace() now
|
-
Property mode set to
100644
|
Rev | Line | |
---|
[0ec59c5] | 1 | CC = /soft/compilers/bgclang/wbin/bgclang |
---|
| 2 | CFLAGS = -O3 -g |
---|
| 3 | |
---|
[14e2ab9] | 4 | CPPFLAGS = |
---|
| 5 | LDFLAGS = -lpthread -ldl |
---|
[0ec59c5] | 6 | |
---|
| 7 | all: memlog.so memlog.a |
---|
| 8 | |
---|
| 9 | memlog.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 | |
---|
| 14 | memlog.so: memlog.c |
---|
| 15 | $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o memlog.so memlog.c |
---|
| 16 | |
---|
| 17 | clean: |
---|
| 18 | rm -f memlog.o memlog.a memlog.so |
---|
| 19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.