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