change datatypes to platform agnostic versions, add makefile

This commit is contained in:
Neo
2023-05-23 20:06:34 -07:00
parent a40632a7fe
commit 92938eb908
5 changed files with 697 additions and 78 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
CPPFLAGS := $(INC_FLAGS) -Bstatic
LDFLAGS := -lssl -lcrypto -ldl -pthread
.SILENT: all xpkey srv2003key clean
all: xpkey srv2003key
xpkey:
$(CXX) $(CPPFLAGS) main.cpp -o $@ $(LDFLAGS)
srv2003key:
$(CXX) $(CPPFLAGS) Srv2003KGmain.cpp -o $@ $(LDFLAGS)
clean:
rm -f xpkey srv2003key