diff options
author | EuAndreh <eu@euandre.org> | 2025-06-13 19:48:03 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-06-13 19:48:03 -0300 |
commit | dc3d156303d1e65819952d1b9110e6791cd4137e (patch) | |
tree | 670b6e6d54e7c7dfe991720c9a608fc82fdd9508 /Makefile | |
parent | Makefile: Add switch for picking number of parallel fuzz workers (diff) | |
download | urubu-dc3d156303d1e65819952d1b9110e6791cd4137e.tar.gz urubu-dc3d156303d1e65819952d1b9110e6791cd4137e.tar.xz |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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 \ |