From 4f88655a79bb2d8f10bdce2841f427c0e27040bd Mon Sep 17 00:00:00 2001 From: shinny Date: Tue, 2 Jun 2020 14:51:57 -0400 Subject: update tools --- tools/rsfont/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tools/rsfont') diff --git a/tools/rsfont/Makefile b/tools/rsfont/Makefile index 582be7b..930a92b 100644 --- a/tools/rsfont/Makefile +++ b/tools/rsfont/Makefile @@ -1,4 +1,4 @@ -CC = gcc +CC ?= gcc CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK @@ -6,7 +6,10 @@ LIBS = -lpng -lz SRCS = main.c convert_png.c util.c font.c -.PHONY: clean +.PHONY: all clean + +all: rsfont + @: rsfont: $(SRCS) convert_png.h gfx.h global.h util.h font.h $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS) -- cgit v1.2.3