Updating makefile to rebuild internal wren files when they change
@@ -7,7 +7,7 @@ BUILD = build
all: dome
src/lib/libwren.a:
./setup.sh
-$(SOURCE)/engine/*.wren.inc: ${SOURCE}/util/embed.c
+$(SOURCE)/engine/*.wren.inc: ${SOURCE}/util/embed.c ${SOURCE}/engine/*.wren
cd src/util && ./generateEmbedModules.sh
dome: $(SOURCE)/*.c src/lib/libwren.a $(SOURCE)/engine/*.c ${SOURCE}/util/font.c ${SOURCE}/include $(SOURCE)/engine/*.wren.inc
$(CC) $(CFLAGS) $(SOURCE)/main.c -o dome -lSDL2 -I$(SOURCE)/include -L$(SOURCE)/lib -lwren -lm
