aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--git2d/.gitignore1
-rw-r--r--hookc/.gitignore1
3 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 4a049fa..e111660 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,9 @@
CFLAGS = -Wall -Wextra -pedantic -std=c99 -D_GNU_SOURCE
-SOURCE_FILES = $(shell git ls-files)
-
all: dist/forged dist/git2d dist/hookc
-dist/forged: $(SOURCE_FILES)
+dist/forged: $(shell git ls-files forged)
mkdir -p dist
CGO_ENABLED=0 go build -o dist/forged -ldflags '-extldflags "-f no-PIC -static"' -tags 'osusergo netgo static_build' ./forged
diff --git a/git2d/.gitignore b/git2d/.gitignore
deleted file mode 100644
index 635d84d..0000000
--- a/git2d/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/git2d
diff --git a/hookc/.gitignore b/hookc/.gitignore
deleted file mode 100644
index 7348daa..0000000
--- a/hookc/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/hookc