# Simple makefile to pack all this data into the EXE.

all : \
	ragnar.h \
	scenes.h \
	ghost.h \
	sprites.h \
	font.h \
	cursor.h \
	music.h \
	upscale_vs.h \
	upscale_ps.h \

%.h : %.anm
	incbin $@ $<

%.h : %.mod
	incbin $@ $<

%_vs.h : %.hlsl
	fxc /nologo /Tvs_2_0 /Evs_main /Vn$(<:.hlsl=_vs_code) /O3 /Zpr /Gfa /Fh$@ $<

%_ps.h : %.hlsl
	fxc /nologo /Tps_2_0 /Eps_main /Vn$(<:.hlsl=_ps_code) /O3 /Zpr /Gfa /Fh$@ $<

clean :
	del *.h
