aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: fea3561d8831d7f32f8402d44ba7333824f43566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
THISDIR := $(shell dirname $(lastword $(MAKEFILE_LIST))) 
 
export KALEIDOSCOPE_DIR = $(shell readlink -f $(THISDIR)/../Kaleidoscope) 
 
DAKKAR_VERSION := $(shell git describe --dirty --always --tags --first-parent) 
 
export LOCAL_CFLAGS = -DBUILD_INFORMATION=\""$(DAKKAR_VERSION)"\" 
 
include $(KALEIDOSCOPE_DIR)/etc/makefiles/sketch.mk
 
.PHONY: update
 
update:
cd $(KALEIDOSCOPE_DIR) && git pull --recurse-submodules
cd $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/ && git pull --recurse-submodules
cd $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/gd32 && git pull --recurse-submodules