add makefile

This commit is contained in:
Nick Griffey 2024-02-24 20:33:41 -06:00
parent b09e915d9e
commit a286eb3759
1 changed files with 12 additions and 0 deletions

12
Makefile Normal file
View File

@ -0,0 +1,12 @@
.PHONY: all gobuild gofmt
all: timeline.db gobuild
gobuild: gofmt
go build
gofmt:
go fmt
timeline.db: timeline.sql
sqlite3 timeline.db < timeline.sql