From 3e572265776cac1ee01c27bb227d15becf4aa3d0 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Tue, 1 Dec 2015 01:35:42 +0100 Subject: Makefile: Move PROJ_DIR to the beginning. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.1