diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-08-08 14:08:30 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-08-08 14:08:30 -0400 |
commit | cd9cd3483d3244aede3438960599d89ffc82039e (patch) | |
tree | 5a88ffe485503911da90a5e2af6f7e7fd7538d78 /Makefile | |
parent | 9d20f3f30dec9cc33057ee4a9e7ce75961664dd5 (diff) |
simpler and more correct tests for sybmolic macro existance
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -46,7 +46,7 @@ complex.o: complex.c test.h ctype.o: ctype.c test.h errno.o: errno.c test.h fenv.o: fenv.c test.h -float.o: float.c test.h +float.o: float.c test.h _float.h inttypes.o: inttypes.c test.h iso646.o: iso646.c test.h limits.o: limits.c test.h @@ -74,5 +74,8 @@ wctype.o: wctype.c test.h test.o: test.c test.h main.o: main.c test.h +_float.h: float.d + awk '{printf("#ifndef %s\n#error %s not defined\n#endif\n", $$0, $$0);}' float.d > $@ + clean: rm -f *.o testlibc |