aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2021-12-09 14:36:32 +0100
committerDrew DeVault <sir@cmpwn.com>2021-12-09 14:36:32 +0100
commit07046a3b2c2d0b6a5dfaaab70e5ea71e8334df1b (patch)
treee134285c86f6052b9c19ae7755acafa0137e215b /Makefile
parentAdd README.md (diff)
downloadhare-chip8-07046a3b2c2d0b6a5dfaaab70e5ea71e8334df1b.tar.gz
sdl2::image: initial commit
Some additional things which were needed to make this work were also added.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fa692a8..f6eb43f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
.POSIX:
.SUFFIXES:
+LIBS=-lc -lSDL2_image -lSDL2
+
demo:
- hare build -lSDL2 -lc -T+libc cmd/demo
+ hare build $(LIBS) -T+libc cmd/demo
run:
- hare run -lSDL2 -lc -T+libc cmd/demo
+ hare run $(LIBS) -T+libc cmd/demo
.PHONY: demo run