From: Jiří Matěják Date: Thu, 26 Apr 2018 17:37:27 +0000 (+0200) Subject: doc, cleaning, no per session data X-Git-Url: https://rtime.felk.cvut.cz/gitweb/coffee/mt-apps.git/commitdiff_plain/e17bf7ed8d01e48100100d4fea02cec478bb22f9 doc, cleaning, no per session data --- diff --git a/Makefile b/Makefile index de47755..5c1e71a 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,20 @@ -all: mt-rfid mt-server mt-ps +OUTPUT_DIR = build -mt-rfid: $(SOURCE_FILES) - $(CC) $(CFLAGS) -DIS_MAIN -o mt_rfid mt_rfid.c ev_signal_exit.c -lev -luFCoder-armhf +all: mtrfid mtserver mtps -mt-server: mt_server.c - $(CC) $(CFLAGS) -DIS_MAIN -o mt-server mt_server.c ev_signal_exit.c -lev -lwebsockets +mtrfid: mt_rfid.c + mkdir -p $(OUTPUT_DIR) + $(CC) $(CFLAGS) -DIS_MAIN -o $(OUTPUT_DIR)/mtrfid mt_rfid.c signal_exit.c -lev -luFCoder-armhf -mt-ps: mtps.c mt_rfid.c mt_server.c - $(CC) $(CFLAGS) -o mt-ps mtps.c mt_rfid.c mt_server.c ev_signal_exit.c -lev -luFCoder-armhf -lwebsockets +mtserver: mt_server.c + mkdir -p $(OUTPUT_DIR) + $(CC) $(CFLAGS) -DIS_MAIN -o $(OUTPUT_DIR)/mtserver mt_server.c signal_exit.c -lev -lwebsockets + +mtps: mt_ps.c mt_rfid.c mt_server.c + mkdir -p $(OUTPUT_DIR) + $(CC) $(CFLAGS) -o $(OUTPUT_DIR)/mtps mt_ps.c mt_rfid.c mt_server.c signal_exit.c -lev -luFCoder-armhf -lwebsockets .PHONY: clean clean: - rm -f mt-* + rm -rf $(OUTPUT_DIR) diff --git a/html/index.html b/html/index.html index e5aa108..ee76379 100644 --- a/html/index.html +++ b/html/index.html @@ -5,7 +5,7 @@