Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2578243
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
575 B
Referenced Files
None
Subscribers
None
Makefile
View Options
ERL_EI_INCLUDE:=$(shell erl -eval 'io:format("~s", [code:lib_dir(erl_interface, include)])' -s init stop -noshell | head -1)
ERL_EI_LIB:=$(shell erl -eval 'io:format("~s", [code:lib_dir(erl_interface, lib)])' -s init stop -noshell | head -1)
CFLAGS = -std=c99 -g -Wall -Werror
CPPFLAGS = -I$(ERL_EI_INCLUDE)
LDFLAGS = -L$(ERL_EI_LIB)
LDLIBS = -lpthread -lei -lm -lmagic
PRIV = priv/
RM = rm -Rf
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-makefile
Expires
Tue, Jun 24, 11:33 PM (13 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
235064
Default Alt Text
Makefile (575 B)
Attached To
Mode
R20 majic
Attached
Detach File
Event Timeline
Log In to Comment