diff --git a/AMF_Creator/Makefile b/AMF_Creator/Makefile deleted file mode 100644 index bae68b0d..00000000 --- a/AMF_Creator/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -SRC = main.cpp -OBJ = $(SRC:.cpp=.o) -OUT = AMFtest -INCLUDES = -CCFLAGS = -Wall -Wextra -funsigned-char -g -CC = $(CROSS)g++ -LD = $(CROSS)ld -AR = $(CROSS)ar -LIBS = -lssl -lcrypto -.SUFFIXES: .cpp -.PHONY: clean default -default: $(OUT) -.cpp.o: - $(CC) $(INCLUDES) $(CCFLAGS) -c $< -o $@ -$(OUT): $(OBJ) amf.cpp - $(CC) $(LIBS) -o $(OUT) $(OBJ) -clean: - rm -rf $(OBJ) $(OUT) Makefile.bak *~ - diff --git a/AMF_Creator/amf.cpp b/AMF_Creator/amf.cpp deleted file mode 120000 index 20bd6c3e..00000000 --- a/AMF_Creator/amf.cpp +++ /dev/null @@ -1 +0,0 @@ -../util/amf.cpp \ No newline at end of file diff --git a/AMF_Creator/main.cpp b/AMF_Creator/main.cpp deleted file mode 100644 index 50132643..00000000 --- a/AMF_Creator/main.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#define DEBUG 10 //maximum debugging level evah -#include -#include -#include -#include -#include "amf.cpp" - -int main( int argc, char * argv[] ) { - if( argc != 2 ) { return 1; } - std::string temp; - std::ifstream ifs( argv[1] ); - while( ifs.good() ) { - temp += ifs.get(); - } - static AMFType amfdata("empty", (unsigned char)0xFF); - amfdata = parseAMF( (const unsigned char*)temp.c_str(), temp.length()-1 ); - amfdata.Print( ); - temp = amfdata.Pack( ); - std::ofstream ofs( "output.bin" ); - for( unsigned int i = 0; i < temp.size( ); i++ ) { - ofs << temp[i]; - } - return 0; -} diff --git a/AMF_Creator/output.bin b/AMF_Creator/output.bin deleted file mode 100644 index 869c1173..00000000 Binary files a/AMF_Creator/output.bin and /dev/null differ