summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorepochqwert <epoch@53flpnlls43fcguy.onion>2015-03-31 12:48:40 -0500
committerepochqwert <epoch@53flpnlls43fcguy.onion>2015-03-31 12:48:40 -0500
commitcaf201027d08049dc12490349b9ebfd7e7a242f4 (patch)
tree77fdc44683cf35a223f8c445a976a6f100ed0b13 /Makefile
downloadlibirc-caf201027d08049dc12490349b9ebfd7e7a242f4.tar.gz
libirc-caf201027d08049dc12490349b9ebfd7e7a242f4.zip
initial commit after splitting from segfault's repo.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
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