File: Makefile

package info (click to toggle)
golang-github-mattn-go-sqlite3 1.14.16~ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 768 kB
  • sloc: cpp: 1,132; ansic: 712; makefile: 60
file content (12 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
TARGET = custom_driver_name
ifeq ($(OS),Windows_NT)
TARGET := $(TARGET).exe
endif

all : $(TARGET)

$(TARGET) : main.go
	go build -ldflags="-X 'github.com/mattn/go-sqlite3.driverName=my-sqlite3'"

clean :
	rm -f $(TARGET)