blob: 8f702b615507be98efe9023968c3ccee45a7b234 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
CFLAGS=-fpic -shared -pedantic -Wall -g3
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
mkdir -p $(PREFIX)/lib
mkdir -p $(PREFIX)/include
install $(TARGET) $(PREFIX)/lib/$(TARGET)
install irc.h $(PREFIX)/include/irc.h
|