mirror of
https://github.com/AquaMorph/Droplets.git
synced 2025-04-29 09:35:33 +00:00
25 lines
544 B
Makefile
25 lines
544 B
Makefile
TARGET = droplets
|
|
|
|
SRC_DIR := ./src
|
|
CPP_SOURCES := $(wildcard $(SRC_DIR)/*.cpp $(SRC_DIR)/*/*.cpp)
|
|
|
|
LIBDAISY_DIR = ./lib/libDaisy
|
|
DAISYSP_DIR = ./lib/daisySP
|
|
|
|
# Reduce binary size
|
|
OPT += -Os
|
|
|
|
SYSTEM_FILES_DIR = $(LIBDAISY_DIR)/core
|
|
include $(SYSTEM_FILES_DIR)/Makefile
|
|
|
|
libdaisy:
|
|
cd $(LIBDAISY_DIR) && make
|
|
daisysp:
|
|
cd $(DAISYSP_DIR) && make
|
|
lib: libdaisy daisysp
|
|
deploy: lib all program
|
|
pulllibs:
|
|
cd $(LIBDAISY_DIR) && make clean && git pull origin master
|
|
cd $(DAISYSP_DIR) && make clean && git pull origin master
|
|
updatelibs: pulllibs lib
|