summaryrefslogtreecommitdiff
path: root/src/surface/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/surface/Makefile')
-rw-r--r--src/surface/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/surface/Makefile b/src/surface/Makefile
index 6eddcb6..21547a5 100644
--- a/src/surface/Makefile
+++ b/src/surface/Makefile
@@ -1,5 +1,5 @@
# Sources
-DIR_SOURCES := surface.c vnc.c able.c ram.c linux.c
+DIR_SOURCES := surface.c able.c ram.c linux.c
ifeq ($(NSFB_SDL_AVAILABLE),yes)
DIR_SOURCES := $(DIR_SOURCES) sdl.c
@@ -9,4 +9,8 @@ ifeq ($(NSFB_XCB_AVAILABLE),yes)
DIR_SOURCES := $(DIR_SOURCES) x.c
endif
+ifeq ($(NSFB_VNC_AVAILABLE),yes)
+ DIR_SOURCES := $(DIR_SOURCES) vnc.c
+endif
+
include build/makefiles/Makefile.subdir