diff options
| author | orangerot <orangerot@orangerot.dev> | 2025-10-14 06:17:32 +0200 |
|---|---|---|
| committer | orangerot <orangerot@orangerot.dev> | 2025-10-14 06:17:32 +0200 |
| commit | 2d359fb932c245267d3da8edbb479b549fc6cebb (patch) | |
| tree | 125b93953833588cc98821cd73b7c6c91e9c74d9 /Makefile | |
| parent | 06aaf6e0bab748c2b491c8a56715c9ac74f1e36e (diff) | |
feat: draw dominos
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,12 @@ CFLAGS := -Wall -Wextra LDFLAGS = -lglfw -lm -lGL -I./glad/include -domino-dungeon: main.c game.c game.h glad/src/glad.c +domino-dungeon: main.c game.c game.h glad/src/glad.c assets/dominos.h $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ +assets/dominos.h: src_build/domino_assets + $< assets/1bit_dominoes_asset_pack/white_and_blue_dominoes.png > $@ + +src_build/domino_assets: src_build/domino_assets.c + $(CC) -o $@ $^ -lm + |
