Page MenuHomePhorge

No OneTemporary

Size
653 B
Referenced Files
None
Subscribers
None
diff --git a/Makefile b/Makefile
index deacaca..830933e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,24 @@
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
+LDLIBS = -lpthread
PRIV = priv/
RM = rm -Rf
ifeq ($(EI_INCOMPLETE),YES)
LDLIBS += -lerl_interface
CFLAGS += -DEI_INCOMPLETE
endif
+LDLIBS += -lei -lm -lmagic
+
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

Mime Type
text/x-diff
Expires
Sat, Nov 23, 10:28 AM (20 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38942
Default Alt Text
(653 B)

Event Timeline