From 965db59ecf17ca232b017fe897eb3b158d4d1450 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sun, 26 Jan 2020 23:24:09 +0100 Subject: [PATCH] use installed header file Treat neatvnc as a proper library when using examples. --- examples/Makefile | 2 +- examples/png-server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index 49f42d2..4c008d1 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -17,7 +17,7 @@ $(BUILD_DIR)/png-server: $(BUILD_DIR)/png-server.o $(BUILD_DIR)/pngfb.o $(BUILD_DIR)/draw: $(BUILD_DIR)/draw.o ; $(LINK_EXE) -$(BUILD_DIR)/%.o: %.c | $(BUILD_DIR) ; $(CC_OBJ) -I../include +$(BUILD_DIR)/%.o: %.c | $(BUILD_DIR) ; $(CC_OBJ) $(BUILD_DIR)/pngfb.o: ../src/pngfb.c | $(BUILD_DIR) $(CC_OBJ) -I../include diff --git a/examples/png-server.c b/examples/png-server.c index 3b63566..79705e6 100644 --- a/examples/png-server.c +++ b/examples/png-server.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -#include "neatvnc.h" +#include #include #include