Add default values for LIBDIR
This commit is contained in:
parent
4748cdff9b
commit
afb8260ecf
|
@ -20,6 +20,13 @@
|
|||
#include "Database.h"
|
||||
#include "../config.h"
|
||||
|
||||
#ifndef PREFIX
|
||||
# define PREFIX "/usr/local"
|
||||
#endif
|
||||
#ifndef LIBDIR
|
||||
# define LIBDIR PREFIX "/lib"
|
||||
#endif
|
||||
|
||||
|
||||
/* Database */
|
||||
/* private */
|
||||
|
|
|
@ -13,3 +13,4 @@ install=$(LIBDIR)
|
|||
|
||||
[database.c]
|
||||
depends=../include/Database/database.h,../config.h
|
||||
cppflags=-D PREFIX=\"$(PREFIX)\" -D LIBDIR=\"$(LIBDIR)\"
|
||||
|
|
Loading…
Reference in New Issue
Block a user