diff options
| author | grischka <grischka> | 2017-07-14 19:26:01 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2017-07-14 19:26:01 +0200 |
| commit | 69a137ff889f552b3ce58b861f3f0601c1818d6b (patch) | |
| tree | 8e2f2e4a2274e48a9e7bbafd37c4f06d8389b723 /Makefile | |
| parent | 04418c7addb757e80b09c94eb3553b131bcf4de8 (diff) | |
| download | tinycc-69a137ff889f552b3ce58b861f3f0601c1818d6b.tar.gz tinycc-69a137ff889f552b3ce58b861f3f0601c1818d6b.tar.bz2 | |
#pragma comment(option,"-..."), bitfields test, etc...
tccpp.c:
* #pragma comment(option,"-some-option")
to set commandline option from C code. May work only
for some options.
libtcc.c:
* option "-d1..9": sets a 'g_debug' global variable.
(for development)
tests2/Makefile:
* new make targets: tests2.37 / tests2.37+
run single test from tests2, optionally update .expect
* new variable GEN-ALWAYS to always generate certain .expects
* bitfields test
tccgen.c:
* bitfields: fix a bug and improve slightly more
* _Generic: ignore "type match twice"
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -345,9 +345,12 @@ tar: tcc-doc.html config.mak: $(if $(wildcard $@),,@echo "Please run ./configure." && exit 1) -# in tests subdir +# run all tests test: $(MAKE) -C tests +# run test(s) from tests2 subdir (see make help) +tests2.%: + $(MAKE) -C tests/tests2 $@ clean: rm -f $(PROGS) $(PROGS_CROSS) tcc_p$(EXESUF) tcc.pod @@ -389,8 +392,14 @@ help: @echo " INC-i386 = {B}/lib/include:{B}/i386-linux/usr/include" @echo " DEF-i386 += -D__linux__" @echo "" + @echo "make test" + @echo " run all tests" + @echo "" + @echo "make tests2.all / make tests2.37 / make tests2.37+" + @echo " run all/single test(s) from tests2, optionally update .expect" + @echo "" @echo "Other supported make targets:" - @echo " install install-strip test tags ETAGS tar clean distclean help" + @echo " install install-strip tags ETAGS tar clean distclean help" @echo "" # -------------------------------------------------------------------------- |
