Changeset 65ecf6c
- Timestamp:
- 05/28/15 19:02:02 (9 years ago)
- Branches:
- master
- Children:
- fc0b9bf
- Parents:
- 0edbc98
- git-author:
- Hal Finkel <hfinkel@…> (05/28/15 19:02:02)
- git-committer:
- Hal Finkel <hfinkel@…> (05/28/15 19:02:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r14e2ab9 r65ecf6c 5 5 LDFLAGS = -lpthread -ldl 6 6 7 all: memlog.somemlog.a7 all: libmemlog.so libmemlog.a 8 8 9 memlog.a: memlog.c9 libmemlog.a: memlog.c 10 10 rm -f memlog.o 11 11 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o memlog.o memlog.c 12 ar cr memlog.a memlog.o 12 ar cr libmemlog.a memlog.o 13 ranlib libmemlog.a 13 14 14 memlog.so: memlog.c15 $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o memlog.so memlog.c15 libmemlog.so: memlog.c 16 $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.c 16 17 17 18 clean: 18 rm -f memlog.o memlog.amemlog.so19 rm -f memlog.o libmemlog.a libmemlog.so 19 20
Note: See TracChangeset
for help on using the changeset viewer.