Git fix for empty directory. Makefile updated.
- ‘build’ directory was not being synced by git because it was empty. Added a .gitignore file in the ‘build’ directory to force git to sync it but keep it empty. - Updated the Makefile to not erase the .gitignore.
This commit is contained in:
parent
b237ad566a
commit
20c7750dab
2
Makefile
2
Makefile
@ -77,7 +77,7 @@ load: all
|
|||||||
bootloadHID grbl.hex
|
bootloadHID grbl.hex
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f grbl.hex $(BUILDDIR)/*
|
rm -f grbl.hex $(BUILDDIR)/*.o $(BUILDDIR)/*.d $(BUILDDIR)/*.elf
|
||||||
|
|
||||||
# file targets:
|
# file targets:
|
||||||
$(BUILDDIR)/main.elf: $(OBJECTS)
|
$(BUILDDIR)/main.elf: $(OBJECTS)
|
||||||
|
4
build/.gitignore
vendored
Normal file
4
build/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
Loading…
Reference in New Issue
Block a user