chore: update Makefile to add missing headers to resgen files
This commit is contained in:
5
Makefile
5
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: ;
|
||||
|
||||
Reference in New Issue
Block a user