diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -106,7 +106,7 @@ images = $(bitmaps:$(int_dir)/%.bmp=$(data_dir)/%.img) $(objects): %.o : %.c $(compiler) $(cflags) -MMD -MF $(@:%.o=%.d) -c $< -o $@ -$(images): $(data_dir)%.img : $(int_dir)%.bmp | bmp_converter +$(images): $(data_dir)%.img : $(int_dir)%.bmp | bmp_converter $(data_dir) $(bmpconv_cmd) $< $@ bmp_converter: @@ -114,6 +114,9 @@ bmp_converter: assets: $(images) +$(data_dir): + mkdir -p data + pack_assets: $(compiler) -O3 -Wall pack.c -o packer $(pack_cmd) $(assets) |