summaryrefslogtreecommitdiff
path: root/libirc/Makefile
blob: 95c74517764815af6c59667225aa3e7ba3104d1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)