From c464265f60ddd367786b08f5d49cd7a6d650b7d6 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 21 Jan 2023 19:05:43 +0100 Subject: First websocket connection --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6dba940..cb5ef3e 100755 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ INCLUDES=-I. HEADERS=config.h qrcode.h storage.h whiteboard.h compiledsql.h SOURCES=$(HEADERS:.h=.cpp) OBJECTS=$(HEADERS:.h=.o) -TARGETS=whiteboard.fcgi +TARGETS=whiteboard build: $(TARGETS) @@ -24,8 +24,8 @@ all: build ./start.sh install: - mkdir -p $(DESTDIR)/usr/lib/whiteboard - cp whiteboard.fcgi $(DESTDIR)/usr/lib/whiteboard/ + mkdir -p $(DESTDIR)/usr/bin + cp whiteboard $(DESTDIR)/usr/bin mkdir -p $(DESTDIR)/usr/lib/whiteboard/html cp -r html/* $(DESTDIR)/usr/lib/whiteboard/html/ @@ -38,7 +38,7 @@ install: cp whiteboard.conf $(DESTDIR)/etc # link -whiteboard.fcgi: $(OBJECTS) main.o +whiteboard: $(OBJECTS) main.o $(CXX) $(LDFLAGS) $^ $(LDLIBS) $(LIBS) -o $@ # .cpp -> .o @@ -49,7 +49,7 @@ test: $(MAKE) -C tests clean: - -rm -f *.o *.fcgi *.gcov + -rm -f *.o $(TARGETS) *.gcov $(MAKE) -C tests clean deb: -- cgit v1.2.3