summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7442935..b519a99 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,8 @@
#
# Generic settings
#
+PROJ_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
+
CC = gcc
CFLAGS += -g -Wall -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -O2
LDFLAGS +=
@@ -31,7 +33,6 @@ OBJECTS = utils.o metastore.o metaentry.o
HEADERS = utils.h metastore.h metaentry.h
MANPAGES = man1/metastore.1
-PROJ_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
SRCS_DIR := $(PROJ_DIR)src/
MANS_DIR := $(PROJ_DIR)