summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-05 17:24:01 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-05 17:24:01 +0200
commit38c4bbc4b62e18ae212ca5772dc3cd955db33415 (patch)
tree8852d4af24e36714433ac90044c16202bedc5b99 /Makefile
parent93b634d9c6adf8b2d7e279886c772b1b317bef20 (diff)
downloadpgfuse-38c4bbc4b62e18ae212ca5772dc3cd955db33415.tar.gz
pgfuse-38c4bbc4b62e18ae212ca5772dc3cd955db33415.tar.bz2
some fixes and docus in Makefiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5f2af39..3a75684 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,15 @@
all: pgfuse
-CFLAGS = -Wall -g `pkg-config fuse --cflags`
+# for debugging
+CFLAGS = -Wall -Wextra -pedantic -g
+# for releasing
+CFLAGS = -Wall
+
+# declare version of FUSE API we want to program against
+CFLAGS += -DFUSE_USE_VERSION=26
+
+# use pkg-config to detemine compiler/linker flags for libfuse
+CFLAGS += `pkg-config fuse --cflags`
LDFLAGS = `pkg-config fuse --libs`
clean: