From 1fe6380b69b14c3840010aed520aeb2e946219a5 Mon Sep 17 00:00:00 2001 From: horchi Date: Mon, 20 Mar 2017 17:55:35 +0100 Subject: 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\n --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3