]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/blob - Makefile
websockets server added
[coffee/mt-apps.git] / Makefile
1 SOURCE_FILES = mt_rfid.c
2 OUTPUT_FILE = mt-rfid
3 LIBRARIES = -lev -luFCoder-armhf
4
5 all: mt-rfid mt-server
6
7 mt-rfid: $(SOURCE_FILES)
8         $(CC) $(CFLAGS) -o $(OUTPUT_FILE) $(SOURCE_FILES) $(LIBRARIES)
9
10 mt-server: mt_server.c
11         $(CC) $(CFLAGS) -o mt-server mt_server.c $(LIBRARIES) -lwebsockets
12
13 .PHONY: clean
14
15 clean:
16         rm -f $(OUTPUT_FILE)