19 lines
321 B
Makefile
19 lines
321 B
Makefile
|
.DEFAULT_GOAL := all
|
||
|
.PHONY: all clean install
|
||
|
|
||
|
compiler = gcc
|
||
|
flags = -lm
|
||
|
|
||
|
all: tncattach
|
||
|
|
||
|
clean:
|
||
|
@echo "Cleaning tncattach build..."
|
||
|
rm tncattach
|
||
|
|
||
|
tncattach:
|
||
|
@echo "Making tncattach..."
|
||
|
@echo "Compiling with: ${compiler}"
|
||
|
${compiler} ${flags} tncattach.c -o tncattach
|
||
|
|
||
|
install: all
|
||
|
@echo "Installing tncattach..."
|