Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F115897
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
702 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/Makefile b/Makefile
index 3ee7c5b..ae22365 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,9 @@
CFLAGS ?= -g
-HEADER_FILES = src
-SOURCE_FILES = src/captcha.c
-OBJECT_FILES = src/captcha.o
-
-src/captcha.o: src/captcha.c
- $(CC) -std=c99 $(CFLAGS) -I $(HEADER_FILES) -c -o src/captcha.o src/captcha.c
-
-priv/captcha: priv $(OBJECT_FILES)
+priv/captcha: priv src/captcha.c
mkdir -p priv
- $(CC) -std=c99 $(CFLAGS) -I $(HEADER_FILES) -o priv/captcha $(LDFLAGS) $(OBJECT_FILES) $(LDLIBS)
+ $(CC) -std=c99 $(CFLAGS) -I./src -o priv/captcha src/captcha.c $(LDFLAGS) $(LDLIBS)
.PHONY: clean
clean:
- rm -f priv/captcha $(OBJECT_FILES) $(BEAM_FILES)
+ rm -f priv/captcha $(BEAM_FILES)
File Metadata
Details
Attached
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
41227
Default Alt Text
(702 B)
Attached To
Mode
R13 elixir-captcha
Attached
Detach File
Event Timeline
Log In to Comment