Lay groundwork for Windows support

Move Unix-specific code to util-unix.cpp, and place Windows equivalents
in util-win32.cpp.  Most of the Windows functions are just stubs at
the moment, and we need a build system that works on Windows.
This commit is contained in:
Andrew Ayer
2014-06-08 16:03:18 -07:00
parent c2a9e48de5
commit 0774ed018c
8 changed files with 415 additions and 211 deletions

View File

@@ -10,6 +10,8 @@ all: git-crypt
git-crypt: $(OBJFILES)
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
util.o: util.cpp util-unix.cpp util-win32.cpp
clean:
rm -f *.o git-crypt