tncattach/makefile

20 lines
378 B
Makefile
Raw Normal View History

2020-05-25 07:29:33 -04:00
.DEFAULT_GOAL := all
.PHONY: all clean install tncattach
2020-05-25 07:29:33 -04:00
compiler = gcc
flags = -lm
all: tncattach
rebuild: clean all
2020-05-25 07:29:33 -04: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 07:29:33 -04:00
install: all
@echo "Installing tncattach..."