aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-06-13 19:48:03 -0300
committerEuAndreh <eu@euandre.org>2025-06-13 19:48:03 -0300
commitdc3d156303d1e65819952d1b9110e6791cd4137e (patch)
tree670b6e6d54e7c7dfe991720c9a608fc82fdd9508 /Makefile
parentMakefile: Add switch for picking number of parallel fuzz workers (diff)
downloadurubu-dc3d156303d1e65819952d1b9110e6791cd4137e.tar.gz
urubu-dc3d156303d1e65819952d1b9110e6791cd4137e.tar.xz
Replace src/urubu/ucd.go with "ucdx" dependencyHEADmain
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 3c52833..cfced13 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,6 @@ sources.mo = $(sources.po:.po=.mo)
existing = \
src/urubu/utf8 \
- src/urubu/ucd \
src/urubu/error \
src/urubu/compressor \
src/urubu/spec/grammar \
@@ -88,7 +87,6 @@ xtests = \
tests/unit/driver/parser/parser.go \
xmains = \
- src/urubu/cmd/ucdgen \
src/urubu/cmd/vartan \
src/urubu/cmd/vartan-go \
@@ -153,23 +151,23 @@ $(libs.a): src/$(NAME).go src/meta.go
$(existing.a):
- go tool compile -I src -o $@ -p `echo $* | sed 's,^src/,,'` $*.go
+ go tool compile $(GOCFLAGS) -I src -o $@ -p `echo $* | sed 's,^src/,,'` $*.go
$(xtests.a):
p="`echo $(*D) | sed 's,^tests/unit/,,'`"; \
- go tool compile -I src -o $@ -p $(*F) src/urubu/$$p.go $*.go
+ go tool compile $(GOCFLAGS) -I src -o $@ -p $(*F) src/urubu/$$p.go $*.go
$(xmains.a):
go tool compile -I src -o $@ -p main $*/*.go
$(xmains.bin):
- go tool link -L src -o $@ --extldflags '$(LDLIBS)' $*.a
+ go tool link $(GOLDFLAGS) -L src -o $@ --extldflags '$(LDLIBS)' $*.a
$(xtmains.a):
go tool compile -I $(@D) -o $@ -p main $*.go
$(xtmains.bin):
- go tool link -L $(@D) -L src -o $@ --extldflags '$(LDLIBS)' $*.a
+ go tool link $(GOLDFLAGS) -L $(@D) -L src -o $@ --extldflags '$(LDLIBS)' $*.a
$(fuzz/lib.a):
go tool compile $(GOCFLAGS) -o $@ -p $(NAME) -d=libfuzzer \