summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2019-11-15 04:03:33 +0000
committerepoch <epoch@hack.thebackupbox.net>2019-11-15 04:03:33 +0000
commit58ba5c203e7a6ee5c10fd063fd3981df3d9546dc (patch)
treef56bb39590e2f97afb1d99afc5d931daa0eaaefc /Makefile
parent9f0a23d0ad876a49c110d4fc963c0da3f912db91 (diff)
downloadlibirc-58ba5c203e7a6ee5c10fd063fd3981df3d9546dc.tar.gz
libirc-58ba5c203e7a6ee5c10fd063fd3981df3d9546dc.zip
added -I to also include $(PREFIX)'s include too
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8f702b6..33ac6e8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-CFLAGS=-fpic -shared -pedantic -Wall -g3
-TARGET=libirc.so
PREFIX:=/usr/local
+CFLAGS=-fpic -shared -pedantic -Wall -g3 -I$(PREFIX)/include
+TARGET=libirc.so
all: libirc.so