libdzonerzy.so/tools/Makefile

13 lines
262 B
Makefile
Raw Normal View History

2023-07-13 14:29:58 +00:00
CC = $(shell which gcc)
EMBED_CFLAGS = -Wall -Wextra -Werror -pedantic -g -O0
EMBED_LDFLAGS =
TOOLSFOLDER = tools/bin
embed: tools/embed/embed.c
$(CC) $(EMBED_CFLAGS) $(EMBED_LDFLAGS) -o $(TOOLSFOLDER)/$@ $^
all: embed
clean-tools:
rm -f $(TOOLSFOLDER)/*