1
0

Updated Makefile to watch all source files.

This commit is contained in:
Alexander Andreev 2022-01-02 05:14:52 +04:00
parent d392a3b0b8
commit d596cc0c48
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -9,9 +9,11 @@ INSTALL_SYSDSERVICEDIR=${DESTDIR}usr/lib/systemd/system
LDFLAGS=-ldflags "-s -w"
SOURCES := main.go ${wildcard prog/*.go}
all: ${TARGET}
${TARGET}: main.go
${TARGET}: ${SOURCES}
go build ${LDFLAGS}
install: