# ----------------------------------------------------------------------------- # This is mostly a stub at the moment, but I'm keeping it separate so I can # mess with it later without changing the original # ----------------------------------------------------------------------------- # Copyright (c) 2012 Ben Blazak # Released under The MIT License (MIT) (see "license.md") # Project located at # ----------------------------------------------------------------------------- TARGET = ergodox-firmware SRC = $(shell find -maxdepth 1 -name '*.c') \ $(shell find ./keyboard -name '*.c') \ $(shell find ./lib -name '*.c') EXTRAINCDIRS = . TEENSY_MAKE = $(MAKE) -f 'lib-other/pjrc/blinky/Makefile' \ TARGET='$(TARGET)' \ SRC='$(SRC)' \ EXTRAINCDIRS='$(EXTRAINCDIRS)' .PHONY: all clean all: $(TEENSY_MAKE) all clean: $(TEENSY_MAKE) clean git clean -X