14 lines
294 B
Makefile
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)
|