Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ core: $(CACHE)/.setup
@cd $(SRC_DIR)/mainUiBatPerc && BUILD_DIR=$(BIN_DIR) make
@cd $(SRC_DIR)/keymon && BUILD_DIR=$(BIN_DIR) make
@cd $(SRC_DIR)/playActivity && BUILD_DIR=$(BIN_DIR) make
@cd $(SRC_DIR)/screenTime && BUILD_DIR=$(BIN_DIR) make
@cd $(SRC_DIR)/themeSwitcher && BUILD_DIR=$(BIN_DIR) make
@cd $(SRC_DIR)/tweaks && BUILD_DIR=$(BIN_DIR) make
@cd $(SRC_DIR)/packageManager && BUILD_DIR=$(BIN_DIR) make
Expand Down Expand Up @@ -273,6 +274,7 @@ test: external-libs
@mkdir -p $(BUILD_TEST_DIR)/infoPanel_test_data && cd $(TEST_SRC_DIR) && BUILD_DIR=$(BUILD_TEST_DIR)/ make dev
@cp -R $(TEST_SRC_DIR)/infoPanel_test_data $(BUILD_TEST_DIR)/
cd $(BUILD_TEST_DIR) && LD_LIBRARY_PATH=$(ROOT_DIR)/lib/ ./test
cd $(BUILD_TEST_DIR) && LD_LIBRARY_PATH=$(ROOT_DIR)/lib/ ./test_screenTime

static-analysis: external-libs
@cd $(ROOT_DIR) && cppcheck -I $(INCLUDE_DIR) --enable=all $(SRC_DIR)
Expand Down
16 changes: 16 additions & 0 deletions src/screenTime/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
INCLUDE_UTILS = 0
CFILES := ../common/utils/retroarch_cmd.c ../common/utils/udp.c
include ../common/config.mk

TARGET = screenTime
CFLAGS := $(CFLAGS) -D_DEFAULT_SOURCE
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
SQLITE_LDFLAGS := $(shell xcrun --show-sdk-path)/usr/lib/libsqlite3.tbd
else
SQLITE_LDFLAGS := -lsqlite3
endif
LDFLAGS := $(LDFLAGS) $(SQLITE_LDFLAGS)

include ../common/commands.mk
include ../common/recipes.mk
Loading