use installed header file

Treat neatvnc as a proper library when using examples.
pull/15/head
Stefan Agner 2020-01-26 23:24:09 +01:00
parent 1e0612a81e
commit 965db59ecf
2 changed files with 2 additions and 2 deletions

View File

@ -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)/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) $(BUILD_DIR)/pngfb.o: ../src/pngfb.c | $(BUILD_DIR)
$(CC_OBJ) -I../include $(CC_OBJ) -I../include

View File

@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "neatvnc.h" #include <neatvnc.h>
#include <stdio.h> #include <stdio.h>
#include <uv.h> #include <uv.h>