tncattach/makefile

20 lines
389 B
Makefile
Raw Normal View History

2020-05-25 05:29:33 -06:00
.DEFAULT_GOAL := all
.PHONY: all clean install tncattach
2020-05-25 05:29:33 -06:00
compiler = gcc
2020-05-26 13:37:21 -06:00
flags = -std=gnu11 -lm
2020-05-25 05:29:33 -06:00
all: tncattach
rebuild: clean all
2020-05-25 05:29:33 -06:00
clean:
@echo "Cleaning tncattach build..."
rm tncattach
tncattach:
@echo "Making tncattach..."
@echo "Compiling with: ${compiler}"
${compiler} ${flags} tncattach.c Serial.c KISS.c TAP.c -o tncattach -Wall
2020-05-25 05:29:33 -06:00
install: all
@echo "Installing tncattach..."