aboutsummaryrefslogtreecommitdiff
path: root/control/Makefile
blob: a86d6302146d34472ce6b40ef8156a83ca633d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
APP_DIR ?= .
SDK_DIR ?= ../sdk
VERSION ?= vdev

CFLAGS += -D'VERSION="${VERSION}"'

Q ?= @

-include $(SDK_DIR)/Makefile.mk

.PHONY: all
all: debug

.PHONY: sdk
sdk: ../sdk/Makefile.mk

.PHONY: update
update: sdk
	@echo "Updating Git submodule 'sdk'..."; git submodule update --remote --merge sdk

../sdk/Makefile.mk:
	$(Q) git submodule update --init ../sdk