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.
pull/1/head
Sonny Jeon 2015-02-10 22:10:03 -07:00
rodzic b237ad566a
commit 20c7750dab
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -77,7 +77,7 @@ load: all
bootloadHID grbl.hex
clean:
rm -f grbl.hex $(BUILDDIR)/*
rm -f grbl.hex $(BUILDDIR)/*.o $(BUILDDIR)/*.d $(BUILDDIR)/*.elf
# file targets:
$(BUILDDIR)/main.elf: $(OBJECTS)

4
build/.gitignore vendored 100644
Wyświetl plik

@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore