diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -22,7 +22,7 @@ DESTDIR = .SUFFIXES: -.SUFFIXES: .in +.SUFFIXES: .in .c .bin .in: sed \ @@ -34,6 +34,9 @@ DESTDIR = < $< > $@ if [ -x $< ]; then chmod +x $@; fi +.c.bin: + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS) + all: @@ -53,6 +56,8 @@ installable = \ derived-assets = \ $(manpages) \ + tests/rand.bin \ + tests/bigger-rand-output.txt \ side-assets = \ tests/hero-*.pipe \ @@ -68,8 +73,13 @@ side-assets = \ ## and installation. all: $(derived-assets) +tests/bigger-rand-output.txt: tests/rand.bin + printf '[\n\t%s\n]\n' \ + "`./$? | tr '\n' ',' | sed -e 's|,$$||' -e 's|,|,\n\t|g'`" > $@ + -$(manpages): Makefile deps.mk +tests/rand.bin $(manpages): Makefile deps.mk +tests/js/rand.mjs-check: tests/bigger-rand-output.txt |
