diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-21 19:05:43 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-21 19:05:43 +0100 |
commit | c464265f60ddd367786b08f5d49cd7a6d650b7d6 (patch) | |
tree | d2c747cc041a92d38ac1d25eb47fc7e398d5af7b /Makefile | |
parent | 3d0592e9238a59df54b3e3b757a38fa2e7f0ccfb (diff) |
First websocket connection
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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: |