summaryrefslogtreecommitdiff
path: root/Makefile
blob: e6c38fb3010f97c4c07d3601fcd8d7cc0b8f5ec0 (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/include/irc.h