From b4bbd479174fd06c13295f33845f39427c0776b3 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 25 Apr 2015 08:07:45 -0700 Subject: 1198 - now compiles on mac os; thanks sam putman Just toss out that snprintf prototype I'd hackily copied in earlier and avoid using snprintf entirely. Hopefully I got the assertions right :/ Looks like the previous nul-padding was redundant. If you had snprintf it would take care of it. --- cpp/termbox/makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/termbox/makefile') diff --git a/cpp/termbox/makefile b/cpp/termbox/makefile index 58d76b21..21055318 100644 --- a/cpp/termbox/makefile +++ b/cpp/termbox/makefile @@ -3,5 +3,7 @@ CFLAGS=-O3 -Wall -Wextra -D_XOPEN_SOURCE libtermbox.a: utf8.o termbox.o ar rcs libtermbox.a *.o +termbox.o: termbox.c input.inl output.inl bytebuffer.inl + clean: rm *.o libtermbox.a -- cgit 1.4.1-2-gfad0