fix macos include error

This commit is contained in:
lxsang 2018-09-19 19:16:22 +02:00
parent 5db4e33511
commit 3739769c71
2 changed files with 61 additions and 1 deletions

55
.gitignore vendored Normal file
View File

@ -0,0 +1,55 @@
# Prerequisites
plugins
build
*._*
*.d
.vscode
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
modules.order
Module.symvers
Mkfile.old
dkms.con
.DS_Store

View File

@ -8,9 +8,14 @@ OBJS = $(PLUGINS_BASE)/plugin.o
PLUGINSDEP = $(OBJS) \
wvnc.o
DEP =
ifeq ($(UNAME_S),Darwin)
DEP= -I/usr/local/opt/jpeg-turbo/include -L/usr/local/opt/jpeg-turbo/lib
endif
PLUGINLIBS = libantd.$(EXT) -lvncclient -lpthread -lz# -lsqlite3
PCFLAGS=-W -Wall -g -D DEBUG $(PPF_FLAG) -D USE_ZLIB
PCFLAGS=-W -Wall -g -D DEBUG $(PPF_FLAG) $(DEP) -D USE_ZLIB
main: $(PLUGINSDEP) $(PLUGINS) #lib