summaryrefslogtreecommitdiff
path: root/Makefile
blob: 26490c579c211ce94e48f7fde900e7c5c85716ee (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: all
	cp $(TARGET) /usr/local/lib/$(TARGET)
	cp irc.h /usr/local/include/irc.h