Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Commit

Permalink
Use CC variable consistently in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Nov 29, 2016
1 parent f089f40 commit 04c69d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ $(OBJDIR)/%$(OBJSUFFIX) : $(SRCDIR)/%.c

$(OBJDIR)/%.d : $(SRCDIR)/%.c
mkdir -p $(dir $@)
cc $(patsubst %, -I%, $(INCDIRS)) -MM -MG -MT $(patsubst %.d, %$(OBJSUFFIX), $@) $< | sed '$(patsubst %, s| \(%\)| $(OBJDIR)/\1|;, $(AUTOGENHEADERS))' >$@
$(CC) $(patsubst %, -I%, $(INCDIRS)) -MM -MG -MT $(patsubst %.d, %$(OBJSUFFIX), $@) $< | sed '$(patsubst %, s| \(%\)| $(OBJDIR)/\1|;, $(AUTOGENHEADERS))' >$@

include $(patsubst %.c, $(OBJDIR)/%.d, $(SRCS))

Expand Down

0 comments on commit 04c69d3

Please sign in to comment.