From caf201027d08049dc12490349b9ebfd7e7a242f4 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Tue, 31 Mar 2015 12:48:40 -0500 Subject: initial commit after splitting from segfault's repo. --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e6c38fb --- /dev/null +++ b/Makefile @@ -0,0 +1,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 -- cgit v1.2.3