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