Changeset 430548b for Makefile


Ignore:
Timestamp:
05/28/15 21:24:13 (9 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master
Children:
3105f50
Parents:
fc0b9bf
git-author:
Hal Finkel <hfinkel@…> (05/28/15 21:24:13)
git-committer:
Hal Finkel <hfinkel@…> (05/28/15 21:24:13)
Message:

a working solution for static linking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rfc0b9bf r430548b  
    55LDFLAGS = -lpthread -ldl 
    66 
    7 all: libmemlog.so libmemlog.a 
     7all: libmemlog.so memlog.o 
    88 
    9 libmemlog.a: memlog.c 
    10         rm -f memlog.o 
     9memlog.o: memlog.c 
    1110        $(CC) $(CPPFLAGS) $(CFLAGS) -c -o memlog.o memlog.c 
    12         ar cr libmemlog.a memlog.o 
    13         ranlib libmemlog.a 
    1411 
    1512libmemlog.so: memlog.c 
     
    1714 
    1815clean: 
    19         rm -f memlog.o libmemlog.a libmemlog.so 
     16        rm -f memlog.o libmemlog.so 
    2017 
Note: See TracChangeset for help on using the changeset viewer.