Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F115896
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
707 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 29, 2:29 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41226
Default Alt Text
(707 B)
Attached To
Mode
R13 elixir-captcha
Attached
Detach File
Event Timeline
Log In to Comment