blob: 7def40122fd7f01588fafcd72f67d28c93419391 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
LDFLAGS=-lhashtable -Llibhashtable
CFLAGS=-fpic -shared -pedantic -Wall
TARGET=libhashtable.so
all: $(TARGET)
$(TARGET):
$(CC) $(CFLAGS) -o $(TARGET) libhashtable.c
clean:
rm -f libhashtable.so
install:
cp $(TARGET) /usr/local/lib/$(TARGET)
|