diff options
author | quou <quou@disroot.org> | 2023-05-03 07:35:34 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-03 07:35:34 +1000 |
commit | c4ee81da673208fe7b3e3638692fd466acf61c3f (patch) | |
tree | d66a3511b327f1e35b9bca91c0358b5fc3c49d2f /Makefile | |
parent | 199a5e6e9ddb13af0bb557b6ebbb2c4b8f4ce873 (diff) |
Fix the makefile.
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) |