Page MenuHomePhorge

No OneTemporary

Size
702 B
Referenced Files
None
Subscribers
None
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

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
41227
Default Alt Text
(702 B)

Event Timeline