diff options
author | horchi <vdr@jwendel.de> | 2017-03-05 14:51:57 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-05 14:51:57 +0100 |
commit | 5eacf5bf36ddbac082a9e40a2bcdfd0f04fd3f9f (patch) | |
tree | 392875cb707b94aaba9d8941113eae35efaf2ec2 /Make.config | |
download | vdr-plugin-epg2vdr-5eacf5bf36ddbac082a9e40a2bcdfd0f04fd3f9f.tar.gz vdr-plugin-epg2vdr-5eacf5bf36ddbac082a9e40a2bcdfd0f04fd3f9f.tar.bz2 |
Diffstat (limited to 'Make.config')
-rw-r--r-- | Make.config | 41 |
1 files changed, 41 insertions, 0 deletions
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 $@ $< |