summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2017-05-17 19:57:35 +0000
committerIan C <ianc@noddybox.co.uk>2017-05-17 19:57:35 +0000
commita064278450e1daad1dfd4fee036d5d97ecd133ee (patch)
tree30e4e153c1fc58417d0e379007a3c6564171d182 /Makefile
parent580a032202eed9ae2f31b3e57c707484a0a097d4 (diff)
Fixed compilation warnings and Makefile for FreeBSD.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c07fefb..4ea98ea 100644
--- a/Makefile
+++ b/Makefile
@@ -29,9 +29,9 @@ HEADERS =
OBJECTS = $(SOURCES:.c=.o)
-LIBS = -lX11 -lm
+LIBS = -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lm
-FLAGS = -g -I/usr/X11R6/include -L/usr/X11R6/lib
+CFLAGS = -g -I/usr/X11R6/include -I/usr/local/include
$(TARGET): $(OBJECTS)
$(CC) $(FLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)