pleroma-elixir-captcha/Makefile
Haelwenn (lanodan) Monnier 1b1baa0cb1 Makefile: Use CFLAGS
2023-08-29 20:13:15 +02:00

14 lines
294 B
Makefile

CFLAGS ?= -g
HEADER_FILES = src
SOURCE_FILES = src/captcha.c
OBJECT_FILES = $(SOURCE_FILES:.c=.o)
priv/captcha: clean priv $(OBJECT_FILES)
mkdir -p priv
$(CC) $(CFLAGS) -I $(HEADER_FILES) -o $@ $(LDFLAGS) $(OBJECT_FILES) $(LDLIBS)
clean:
rm -f priv/captcha $(OBJECT_FILES) $(BEAM_FILES)