Page MenuHomePhorge

No OneTemporary

Size
707 B
Referenced Files
None
Subscribers
None
diff --git a/Makefile b/Makefile
index d2682c9..3ee7c5b 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,15 @@ CFLAGS ?= -g
HEADER_FILES = src
SOURCE_FILES = src/captcha.c
+OBJECT_FILES = src/captcha.o
-OBJECT_FILES = $(SOURCE_FILES:.c=.o)
+src/captcha.o: src/captcha.c
+ $(CC) -std=c99 $(CFLAGS) -I $(HEADER_FILES) -c -o src/captcha.o src/captcha.c
-priv/captcha: clean priv $(OBJECT_FILES)
+priv/captcha: priv $(OBJECT_FILES)
mkdir -p priv
- $(CC) $(CFLAGS) -I $(HEADER_FILES) -o $@ $(LDFLAGS) $(OBJECT_FILES) $(LDLIBS)
+ $(CC) -std=c99 $(CFLAGS) -I $(HEADER_FILES) -o priv/captcha $(LDFLAGS) $(OBJECT_FILES) $(LDLIBS)
+.PHONY: clean
clean:
rm -f priv/captcha $(OBJECT_FILES) $(BEAM_FILES)

File Metadata

Mime Type
text/x-diff
Expires
Fri, Nov 29, 2:29 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41226
Default Alt Text
(707 B)

Event Timeline