From 07046a3b2c2d0b6a5dfaaab70e5ea71e8334df1b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 9 Dec 2021 14:36:32 +0100 Subject: sdl2::image: initial commit Some additional things which were needed to make this work were also added. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3