From b34e7bd903f7c20912cfe696947641a7f37e029d Mon Sep 17 00:00:00 2001 From: realtradam Date: Sat, 11 May 2024 17:31:18 -0400 Subject: rendering player --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5b66644..cf1f603 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,13 @@ BUILD_DIR=build +SRC_DIRS := ./src include $(N64_INST)/include/n64.mk -src = main.c +//src = src/main.c +src := $(shell find $(SRC_DIRS) -name '*.cpp' -or -name '*.c' -or -name '*.s') +OBJS := $(SRCS:%=$(BUILD_DIR)/%.o) +DEPS := $(OBJS:.o=.d) +INC_DIRS := $(shell find $(SRC_DIRS) -type d) +N64_INCLUDEDIR := $(addprefix -I,$(INC_DIRS)) assets_png = $(wildcard assets/*.png) #assets_m3d = $(wildcard assets/*.m3d) -- cgit v1.2.3