emote2ss

Animated webp to spritesheets converting tool
git clone git://bsandro.tech/emote2ss
Log | Files | Refs | README

commit 4b2beab7f13f87e8e44e4386130a132522e19326
parent 70e64aa7541153aba8d6226200093b40432ce413
Author: bsandro <[email protected]>
Date:   Sat, 15 Jul 2023 14:15:26 +0300

tcc support

Diffstat:
MMakefile | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -6,6 +6,10 @@ LIBS:=libwebp libwebpdemux CFLAGS=-Og -g -std=c99 -Werror -Wall -Wextra -I. -I./src/ ${shell pkg-config --cflags $(LIBS)} LDFLAGS=-lc ${shell pkg-config --libs $(LIBS)} +ifeq ($(CC),tcc) + CFLAGS+=-b -bt8 +endif + all: $(NAME) .PHONY: clean run test @@ -17,7 +21,7 @@ clean: @$(CC) $(CFLAGS) -c $< -o $@ $(NAME): $(OBJ) - @$(CC) $(OBJ) -o $@ $(LDFLAGS) + @$(CC) $(OBJ) -o $@ $(LDFLAGS) $(CFLAGS) run: $(NAME) @./$(NAME)