summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-03-20 17:55:35 +0100
committerhorchi <vdr@jwendel.de>2017-03-20 17:55:35 +0100
commit1fe6380b69b14c3840010aed520aeb2e946219a5 (patch)
tree392ff4401fedee9d6c1ba12b3ca27ea443e114fc /Makefile
parentfa25e7126b97348f825abad9fabb2bdc82e52a05 (diff)
downloadvdr-plugin-epg2vdr-1fe6380b69b14c3840010aed520aeb2e946219a5.tar.gz
vdr-plugin-epg2vdr-1fe6380b69b14c3840010aed520aeb2e946219a5.tar.bz2
2017-03-20: version 1.1.51 (horchi)\n - change: Removed compiler warnings when using clang\n - added: Added clang++ to Make.config (as optional compiler)\n - change: Fixed APIVERSION check for VDR < 2.2.0 (thx to nobanzai)\n\n1.1.51
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 86fd27f..941a31e 100644
--- a/Makefile
+++ b/Makefile
@@ -117,11 +117,12 @@ hlib:
### Implicit rules:
%.o: %.c
- $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $<
+ $(doCompile) $(INCLUDES) -o $@ $<
+# $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $<
### Dependencies:
-MAKEDEP = $(CXX) -MM -MG
+MAKEDEP = $(CC) -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
@@ -157,7 +158,7 @@ install-i18n: $(I18Nmsgs)
### Targets:
$(SOFILE): hlib $(OBJS)
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
+ $(CC) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
install-lib: $(SOFILE)
install -D -m644 $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)