aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-13 20:38:34 +0100
committerlonkaars <loek@pipeframe.xyz>2023-03-13 20:38:34 +0100
commitec7b1726e60f6077fc90d736e8224b9473534d79 (patch)
tree988b9766edeef9ccabd1a3ddefa9723dadc095ec /src/makefile
parent994e96753aeb65080001530b1e62e070c975f4f1 (diff)
untested POC
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/makefile b/src/makefile
index d7d9087..e2fc1d3 100644
--- a/src/makefile
+++ b/src/makefile
@@ -3,7 +3,7 @@ RM = rm -f
TARGET = main
# platform is ds (desktop) or stm (stm32)
-PLATFORM = ds
+PLATFORM = stm
# if your editor uses compile_commands.json for autocomplete, you should run `make compile_commands.json` again
HOST=$(strip $(shell uname -o))
@@ -27,17 +27,7 @@ LFLAGS += -lm
CFLAGS += $(if $(STM), -DHH_TARGET_STM32, )
CFLAGS += $(if $(DESKTOP), -DHH_TARGET_DESKTOP, )
-LOCAL_SRCS += main.c \
- ppu/internals.c \
- ppu/ppu.c \
- demo.c \
- engine/engine.c \
- engine/sprite_controller.c \
- engine/player_controller.c \
- engine/draw_screen.c \
- engine/camera.c \
- engine/maths.c \
- engine/entity.c
+LOCAL_SRCS += main.c
CFLAGS += $(SHARED_FLAGS)
LFLAGS += $(SHARED_FLAGS)