blob: 02f62b5c02e99efd10aab2db996780f3b87c2c9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CFLAGS=-fpic -shared -pedantic -Wall -ggdb
TARGET=libirc.so
PREFIX=/usr/local
all: libirc.so
$(TARGET): libirc.o
ld -shared -o $(TARGET) libirc.o
clean:
rm -f $(TARGET)
rm *.o
install: all
cp $(TARGET) $(PREFIX)/lib/$(TARGET)
cp irc.h $(PREFIX)/include/irc.h
|