2012-03-12 02:52:31 +01:00
|
|
|
# -----------------------------------------------------------------------------
|
2012-03-14 22:46:52 +01:00
|
|
|
# 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
|
2012-03-12 02:52:31 +01:00
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# Copyright (c) 2012 Ben Blazak
|
|
|
|
# Released under The MIT License (MIT) (see "license.md") at
|
|
|
|
# <https://github.com/benblazak/ergodox-firmware>
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
2012-03-14 22:46:52 +01:00
|
|
|
|
2012-03-19 08:01:41 +01:00
|
|
|
SRC = $(shell find -name '*.c')
|
|
|
|
EXTRAINCDIRS = .
|
2012-03-14 22:46:52 +01:00
|
|
|
|
2012-03-19 08:01:41 +01:00
|
|
|
TEENSY_MAKE = $(MAKE) -f 'lib/pjrc/Makefile' \
|
|
|
|
SRC='$(SRC)' \
|
|
|
|
EXTRAINCDIRS='$(EXTRAINCDIRS)'
|
2012-03-14 22:46:52 +01:00
|
|
|
|
|
|
|
|
2012-03-12 02:52:31 +01:00
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
all:
|
2012-03-14 22:46:52 +01:00
|
|
|
$(TEENSY_MAKE) all
|
2012-03-12 02:52:31 +01:00
|
|
|
|
|
|
|
clean:
|
2012-03-14 22:46:52 +01:00
|
|
|
$(TEENSY_MAKE) clean
|
2012-03-12 02:52:31 +01:00
|
|
|
|