From 2331f2c31abd2855a12ea58285eb9ff3718b325f Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Tue, 27 Aug 2024 21:51:29 +0800 Subject: [PATCH] chore: update Makefile to add missing headers to resgen files --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 7098feb3..498f7c23 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,11 @@ materials: FORCE $(FILAMENT_PATH)/resgen -c -p image -x thermion_dart/native/include/material/ materials/image.filamat $(FILAMENT_PATH)/matc -a opengl -a metal -o materials/gizmo.filamat materials/gizmo.mat $(FILAMENT_PATH)/resgen -c -p gizmo -x thermion_dart/native/include/material/ materials/gizmo.filamat + echo '#include "gizmo.h"' | cat - thermion_dart/native/include/material/gizmo.c > thermion_dart/native/include/material/gizmo.c.new + echo '#include "image.h"' | cat - thermion_dart/native/include/material/image.c > thermion_dart/native/include/material/image.c.new + mv thermion_dart/native/include/material/image.c.new thermion_dart/native/include/material/image.c + mv thermion_dart/native/include/material/gizmo.c.new thermion_dart/native/include/material/gizmo.c + #rm materials/*.filamat FORCE: ;