summaryrefslogtreecommitdiff
path: root/libirc/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2014-03-15 03:18:49 -0500
committerepoch <epoch@hacking.allowed.org>2014-03-15 03:18:49 -0500
commitf5c8e31e744a120a580e28f8981f79bfbf255a1b (patch)
tree7a496902e3a7c171c5c0ba2fbc6ae08de613eadb /libirc/Makefile
parent8ab43a38e0e99020b12ceedaafec0e7d8d663f79 (diff)
downloadsegfault-f5c8e31e744a120a580e28f8981f79bfbf255a1b.tar.gz
segfault-f5c8e31e744a120a580e28f8981f79bfbf255a1b.zip
experimental Makefiles.
Diffstat (limited to 'libirc/Makefile')
-rw-r--r--libirc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/libirc/Makefile b/libirc/Makefile
new file mode 100644
index 0000000..2ed3299
--- /dev/null
+++ b/libirc/Makefile
@@ -0,0 +1,11 @@
+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