diff options
author | EuAndreh <eu@euandre.org> | 2024-01-04 20:36:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-01-05 05:47:09 -0300 |
commit | 8492f115890d56c98c1da24b9fdf26bb1b714c05 (patch) | |
tree | 7d90469d2aff11c2e4c8e99e7b46aa8e8eb43008 /Makefile | |
parent | Fix the build system. (diff) | |
download | grovel-8492f115890d56c98c1da24b9fdf26bb1b714c05.tar.gz grovel-8492f115890d56c98c1da24b9fdf26bb1b714c05.tar.xz |
Setup stub unit test infrastructure
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -56,7 +56,7 @@ catalogs.cat = $(catalogs.msg:.msg=.cat) sources.o = $(sources.c:.c=.o) $(sources.s:.s=.o) sources.to = $(sources.c:.c=.to) sources.xa = $(sources.c:.c=.xa) -# sources.bin = $(sources.c:.c=.bin) # FIXME +sources.bin = $(sources.c:.c=.bin) fuzz.o = $(fuzz.c:.c=.o) fuzz.xa = $(fuzz.c:.c=.xa) fuzz.bin = $(fuzz.c:.c=.bin) @@ -113,6 +113,12 @@ src/main.xa: $(sources.o) src/main.o $(fuzz.bin): lib$(NAME).a $(manpages) src/config.h: Makefile deps.mk $(sources.o) $(sources.to): Makefile deps.mk src/config.h +$(sources.xa): crt/crt1.o crt/x86_64/crti.o crt/x86_64/crtn.o +$(sources.xa): $(libc.c:.c=.o) $(libc.s:.s=.o) + +crt/crt1.bin: + touch $@ + chmod +x $@ lib$(NAME).a $(sources.xa) src/main.xa $(fuzz.xa) $(empty-libs.a): @@ -134,7 +140,7 @@ src/catalog.bin-check: src/$(NAME).en.cat .SUFFIXES: .bin-check -# sources.bin-check = $(sources.c:.c=.bin-check) +sources.bin-check = $(sources.c:.c=.bin-check) $(sources.bin-check): $(EXEC)$*.bin |