From a064278450e1daad1dfd4fee036d5d97ecd133ee Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 17 May 2017 19:57:35 +0000 Subject: Fixed compilation warnings and Makefile for FreeBSD. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3