Updated Makefile to watch all source files.
This commit is contained in:
parent
d392a3b0b8
commit
d596cc0c48
4
Makefile
4
Makefile
@ -9,9 +9,11 @@ INSTALL_SYSDSERVICEDIR=${DESTDIR}usr/lib/systemd/system
|
|||||||
|
|
||||||
LDFLAGS=-ldflags "-s -w"
|
LDFLAGS=-ldflags "-s -w"
|
||||||
|
|
||||||
|
SOURCES := main.go ${wildcard prog/*.go}
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
${TARGET}: main.go
|
${TARGET}: ${SOURCES}
|
||||||
go build ${LDFLAGS}
|
go build ${LDFLAGS}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
Loading…
Reference in New Issue
Block a user