From 5eacf5bf36ddbac082a9e40a2bcdfd0f04fd3f9f Mon Sep 17 00:00:00 2001 From: horchi Date: Sun, 5 Mar 2017 14:51:57 +0100 Subject: commit of actual revision --- Make.config | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Make.config (limited to 'Make.config') diff --git a/Make.config b/Make.config new file mode 100644 index 0000000..5d52c29 --- /dev/null +++ b/Make.config @@ -0,0 +1,41 @@ + +# Make.config +# +# See the README file for copyright information and how to reach the author. +# +# + +# user defined stuff + +PREFIX = /usr/local + +DEBUG = 1 + +# ----------------------- +# don't touch below ;) + +CC = g++ +doCompile = $(CC) -c $(CFLAGS) $(DEFINES) +doLink = $(CC) $(LFLAGS) +doLib = ar -rs + +USEPYTHON = 1 +USEEPGS = 1 + +USES = -DVDR_PLUGIN -DUSEUUID -DUSEMD5 -DUSEJSON -DUSEGUNZIP -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + +ifdef DEBUG + CXXFLAGS += -ggdb -O0 +endif + +CXXFLAGS += -fPIC -Wreturn-type -Wall -Wno-parentheses -Wformat -pedantic \ + -Wno-long-long -Wunused-variable -Wunused-label -Wno-unused-result \ + -Wunused-value -Wunused-but-set-variable -Wunused-function -Wno-variadic-macros \ + -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + +CXXFLAGS += -D__STDC_FORMAT_MACROS + +CFLAGS += $(CXXFLAGS) + +%.o: %.c + $(doCompile) -o $@ $< -- cgit v1.2.3