summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 277107c..45fab96 100644
--- a/config.mk
+++ b/config.mk
@@ -16,12 +16,13 @@ CPPFLAGS += -O2 -Wall
# Add linker options, such as -L option to include jpeglib's libraries
# LDFLAGS += -L/home/fred/jpeglib
-### Linux configuration
+### Linux and FreeBSD configuration
-ifeq ($(shell uname), Linux)
+ifneq ($(findstring $(shell uname), Linux, FreeBSD), )
OS := -DLC_LINUX
OSDIR := linux
+PREFIX := /usr/local
endif