aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2e7680a..cbb1225 100644
--- a/Makefile
+++ b/Makefile
@@ -125,11 +125,11 @@ $(libs.a): src/$(NAME).go src/version.go
$(existing.a):
- go tool compile -I src -o $@ -p `echo $* | sed 's,^src/,,'` `find $*/*.go`
+ go tool compile -I src -o $@ -p `echo $* | sed 's,^src/,,'` $*.go
$(xtests.a):
p="`echo $* | sed 's,^tests/unit/,urubu/,'`"; \
- go tool compile -I src -o $@ -p $$p src/$$p/*.go $*/*.go
+ go tool compile -I src -o $@ -p $$p src/$$p.go $*/*.go
$(xmains.a):
go tool compile -I src -o $@ -p main $*/*.go