diff --git a/server/Makefile b/server/Makefile new file mode 100644 index 0000000..e12c2f1 --- /dev/null +++ b/server/Makefile @@ -0,0 +1,17 @@ +xHDServer: main.o + $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) + +LDLIBS = -lserialport + +ifeq ($(OS),Windows_NT) + +LDLIBS += -lcfgmgr32 -lsetupapi + +CC = gcc +CXX = g++ +CPPFLAGS = -m64 -I win32 +LDFLAGS = -m64 -L win32 + +xHDServer: win32/mmap-win32.o + +endif # Windows_NT