1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 05:13:30 +03:00

make: Fix prof build issue

This commit is contained in:
Mattias Wadman 2021-12-12 15:25:28 +01:00
parent 91217e8210
commit e5e81e7c6f

View File

@ -75,7 +75,7 @@ depgraph.svg:
# make cpuprof ARGS=". test.mp3" # make cpuprof ARGS=". test.mp3"
.PHONY: prof .PHONY: prof
prof: prof:
go build -tags profile -o fq.prof main.go go build -tags profile -o fq.prof fq.go
CPUPROFILE=fq.cpu.prof MEMPROFILE=fq.mem.prof ./fq.prof ${ARGS} CPUPROFILE=fq.cpu.prof MEMPROFILE=fq.mem.prof ./fq.prof ${ARGS}
.PHONY: memprof .PHONY: memprof
memprof: prof memprof: prof