Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85825954
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
743 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/Makefile b/Makefile
index c8145a5..deacaca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,22 @@
-CFLAGS = -std=c99 -g -Wall -Werror
-CPPFLAGS = -I$(ERL_EI_INCLUDE_DIR) -I/usr/local/include
-LDFLAGS = -L$(ERL_EI_LIBDIR) -L/usr/local/lib
+CFLAGS += -std=c99 -g -Wall -Werror
+CPPFLAGS += -I$(ERL_EI_INCLUDE_DIR) -I/usr/local/include
+LDFLAGS += -L$(ERL_EI_LIBDIR) -L/usr/local/lib
LDLIBS = -lpthread -lei -lm -lmagic
PRIV = priv/
RM = rm -Rf
ifeq ($(EI_INCOMPLETE),YES)
LDLIBS += -lerl_interface
CFLAGS += -DEI_INCOMPLETE
endif
all: priv/libmagic_port
priv/libmagic_port: src/libmagic_port.c
mkdir -p priv
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $< $(LDLIBS) -o $@
clean:
$(RM) $(PRIV)
.PHONY: clean
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Oct 30, 4:18 AM (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1799421
Default Alt Text
(743 B)
Attached To
Mode
R20 majic
Attached
Detach File
Event Timeline