SFTP Makefile fixes
This commit is contained in:
parent
d6212be16d
commit
8c5fe1c7e4
6
Makefile
6
Makefile
@ -1,6 +1,6 @@
|
||||
CXX = $(shell wx-config --cxx)
|
||||
CXX = $(shell wx-config --cxx) -I/include
|
||||
|
||||
SOURCES = $(wildcard include/**/*.cpp src/settings/*.cpp include/*.cpp)
|
||||
SOURCES = $(wildcard include/**/*.cpp src/network/*.cpp src/settings/*.cpp include/*.cpp)
|
||||
OBJECTS = $(patsubst %.cpp,%.o, $(SOURCES))
|
||||
TARGET = build/Tyro.a
|
||||
|
||||
@ -10,7 +10,7 @@ PROGRAM_OBJECTS = $(patsubst %.cpp,%.o, $(PROGRAM_SRC))
|
||||
|
||||
BASE_FLAGS = -DSCI_LEXER
|
||||
|
||||
LDLIBS = $(TARGET) $(shell wx-config --libs base core aui stc adv)
|
||||
LDLIBS = $(TARGET) $(shell wx-config --libs base core aui stc adv) -lssh2
|
||||
WX_CXXFLAGS = $(shell wx-config --cxxflags) $(BASE_FLAGS)
|
||||
DEV_CXXFLAGS = -g -Wall -Wextra
|
||||
CXXFLAGS = -Os
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#include <Ws2tcpip.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
|
Loading…
Reference in New Issue
Block a user