diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -30,11 +30,17 @@ LINK = $(CC) $(CFLAGS) $(LDFLAGS) OBJECTS = utils.o metastore.o metaentry.o HEADERS = utils.h metastore.h metaentry.h +PROJ_DIR := $(dir $(lastword $(MAKEFILE_LIST))) +SRCS_DIR := $(PROJ_DIR)src/ + DESTDIR ?= prefix = /usr usrbindir = ${prefix}/bin mandir = ${prefix}/share/man +vpath %.c $(SRCS_DIR) +vpath %.h $(SRCS_DIR) + # # Targets # |