diff options
| author | Jose Castillo <joeycastillo@utexas.edu> | 2023-11-17 12:31:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-17 12:31:40 -0500 |
| commit | 0263d9e0c7dfd9fc015f27bf3ae2487eaaa9d436 (patch) | |
| tree | a8e2310f0f75a34e2088c3426385b4bf8d3ced02 /make.mk | |
| parent | 67be6affd3367c4f6c302a57fdb35fc2bda50ce6 (diff) | |
| parent | 7d353bba1c171e7885e69e88f314ca0dbe521863 (diff) | |
| download | Sensor-Watch-0263d9e0c7dfd9fc015f27bf3ae2487eaaa9d436.tar.gz Sensor-Watch-0263d9e0c7dfd9fc015f27bf3ae2487eaaa9d436.tar.bz2 Sensor-Watch-0263d9e0c7dfd9fc015f27bf3ae2487eaaa9d436.zip | |
Merge pull request #292 from WesleyAC/error-when-no-color
Don't allow building without setting board color.
Diffstat (limited to 'make.mk')
| -rw-r--r-- | make.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -207,6 +207,10 @@ ifeq ($(LED), BLUE) CFLAGS += -DWATCH_IS_BLUE_BOARD endif +ifndef COLOR +$(error Set the COLOR variable to RED, BLUE, or GREEN depending on what board you have.) +endif + ifeq ($(COLOR), BLUE) CFLAGS += -DWATCH_IS_BLUE_BOARD endif |
