Merge pull request #593 from poelstra/fix_makefile_deps
Fix generating header dependencies, merge with 'normal' compile, force r...
This commit is contained in:
commit
d36d3519ef
3
Makefile
3
Makefile
@ -50,8 +50,7 @@ OBJECTS = $(addprefix $(BUILDDIR)/,$(notdir $(SOURCE:.c=.o)))
|
||||
all: grbl.hex
|
||||
|
||||
$(BUILDDIR)/%.o: $(SOURCEDIR)/%.c
|
||||
$(COMPILE) -c $< -o $@
|
||||
@$(COMPILE) -MM $< > $(BUILDDIR)/$*.d
|
||||
$(COMPILE) -MMD -MP -c $< -o $@
|
||||
|
||||
.S.o:
|
||||
$(COMPILE) -x assembler-with-cpp -c $< -o $(BUILDDIR)/$@
|
||||
|
Loading…
Reference in New Issue
Block a user