initial commit - import mediafire-shell sources

This commit is contained in:
josch
2014-09-15 20:00:05 +02:00
commit ad1fea5a78
56 changed files with 8147 additions and 0 deletions

30
Makefile Normal file
View File

@@ -0,0 +1,30 @@
CFLAGS = --std=c99
DEFS = -D_REENTRANT -D_GNU_SOURCE
LIBS = -lcurl -lssl -lcrypto -ljansson
PREFIX = /usr/local
HOSTARCH = $(shell arch)
ifeq ($(HOSTARCH),x86_64)
LIB_ARCH = lib64
else
LIB_ARCH = lib
endif
makefile: all
all: mfshell
mfshell:
gcc $(CFLAGS) $(DEFS) -o mfshell *.c $(LIBS)
clean:
rm -f *.o
rm -f *.so
rm -f mfshell
install:
cp -f mfshell ${PREFIX}/bin
chmod 755 ${PREFIX}/bin/mfshell