ergodox-firmware/src/makefile

27 lines
746 B
Makefile
Raw Normal View History

# -----------------------------------------------------------------------------
# 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") at
# <https://github.com/benblazak/ergodox-firmware>
# -----------------------------------------------------------------------------
SRC = $(shell find -name '*.c')
EXTRAINCDIRS = .
TEENSY_MAKE = $(MAKE) -f 'lib/pjrc/Makefile' \
SRC='$(SRC)' \
EXTRAINCDIRS='$(EXTRAINCDIRS)'
.PHONY: all clean
all:
$(TEENSY_MAKE) all
clean:
$(TEENSY_MAKE) clean