diff options
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r-- | stdlib/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile index 3de9ff9891..cd33f1f90f 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -49,7 +49,7 @@ routines := \ strtoimax strtoumax wcstoimax wcstoumax \ getcontext setcontext makecontext swapcontext -distribute := exit.h grouping.h abort-instr.h +distribute := exit.h grouping.h abort-instr.h isomac.c tests := tst-strtol tst-strtod testmb testrand testsort testdiv \ test-canon @@ -65,6 +65,7 @@ routines := $(strip $(routines) $(mpn-routines)) \ aux := mp_clz_tab fpioconst distribute := $(distribute) $(mpn-headers) gen-mpn-copy fpioconst.h +generated += isomac isomac.out include ../Rules @@ -117,3 +118,10 @@ clean-mpn: rm -f $(mpn-stuff) endif + +# Run a test on the header files we use. +tests: $(objpfx)isomac + $(dir $<)$(notdir $<) '$(CC)' '-I../include -I.. $(+sysdep-includes)' > $<.out + +$(objpfx)isomac: isomac.c + $(native-compile) |