Browse Source

No Windows

Piotr Czajkowski 4 years ago
parent
commit
6fff1d4cfa
4 changed files with 1 additions and 14 deletions
  1. 1 3
      README.md
  2. BIN
      bin/anonymize.exe
  3. BIN
      bin/mingwLibs.zip
  4. 0 11
      makefile

+ 1 - 3
README.md

@@ -24,6 +24,4 @@ You can also de-anonymize comments. Proper bin file, named "<your_orginial_docx>
 
 *./anonymize test.docx -d test2.docx* - de-anonymized version will be saved as test2.docx leaving original test.docx intact.
 
-You'll need libarchive, libxml2 and [lbinn](https://github.com/liteserver/binn) to compile it. It was created as learning project while I was exploring C, so use it freely, but at your own risk. Output was tested with Word 2013 and Libre Office Writer.
-
-To relieve your pain I've added compiled Windows 64 bit binary in the bin folder. It includes all necessary MingW dlls. Enjoy!
+You'll need libarchive, libxml2 and [lbinn](https://github.com/liteserver/binn) to compile it. It was created as learning project while I was exploring C, so use it freely, but at your own risk. Output was tested with Word 2013 and Libre Office Writer. Enjoy!

BIN
bin/anonymize.exe


BIN
bin/mingwLibs.zip


+ 0 - 11
makefile

@@ -1,22 +1,11 @@
 CFLAGS=`xml2-config --cflags` -g -Wall -Wextra -Wshadow -O3 -std=c99
 LDLIBS=`xml2-config --libs` -larchive -lbinn
 objects=comments.o zip.o xmlbuff.o
-mingwCFLAGS=`x86_64-w64-mingw32-pkg-config --cflags --libs libxml-2.0` -g -Wall -Wextra -Wshadow -O3 -std=c99
-mingwLDLIBS=`x86_64-w64-mingw32-pkg-config --libs libxml-2.0` -larchive -lbinn-1.0
-mingw=x86_64-w64-mingw32-gcc
 
 anonymize: $(objects)
 
-bin/anonymize.exe:
-	$(mingw) $(mingwCFLAGS) -c comments.c $(mingwLDLIBS)
-	$(mingw) $(mingwCFLAGS) -c zip.c $(mingwLDLIBS)
-	$(mingw) $(mingwCFLAGS) -c xmlbuff.c $(mingwLDLIBS)
-	$(mingw) $(mingwCFLAGS) anonymize.c $(objects) $(mingwLDLIBS) -o $@
-
 .PHONY: clean
 clean:
 	rm *.o
 
-win: bin/anonymize.exe
-
 default: anonymize