summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2015-12-01 01:35:42 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2015-12-01 01:35:42 +0100
commit3e572265776cac1ee01c27bb227d15becf4aa3d0 (patch)
treeeecaa66c26c602c8c23395299602c41aa71c055f
parentf1e4842c5684c95db867f5877ce74e48c036d80a (diff)
Makefile: Move PROJ_DIR to the beginning.
-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)