X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=Makefile;h=43c16571c84f582f686f40b12c313fbb33ef40cd;hp=0acd1cc6132e91de48c5445930759832302f499b;hb=25a7ddd22983c5562fb0d9dffbb7a2eabb371b7d;hpb=af63317148d826871c52978e55f3c01b978faa61 diff --git a/Makefile b/Makefile index 0acd1cc..43c1657 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,7 @@ links: @echo "Linking platform/$(PLATFORM)..." @cd internals && ln -s ../platform/$(PLATFORM)/internals/_PDCLIB_config.h @cd includes && ln -s ../platform/$(PLATFORM)/includes/float.h + @cd testing && ln -s ../platform/$(PLATFORM)/testing/printf_reference.txt @cd functions/_PDCLIB && for file in $(PATCHFILES1); do basfile=`basename $$file`; if [ ! -f $$basfile ]; then ln -s `ls ../../$$file` .; fi; done @cd functions/stdlib && for file in $(PATCHFILES2); do basfile=`basename $$file`; if [ ! -f $$basfile ]; then ln -s `ls ../../$$file` .; fi; done @cd functions/stdio && for file in $(PATCHFILES3); do basfile=`basename $$file`; if [ ! -f $$basfile ]; then ln -s `ls ../../$$file` .; fi; done @@ -100,6 +101,7 @@ unlink: @echo "Unlinking platform files..." @if [ -f internals/_PDCLIB_config.h ]; then rm internals/_PDCLIB_config.h; fi @if [ -f includes/float.h ]; then rm includes/float.h; fi + @if [ -f testing/printf_reference.txt ]; then rm testing/printf_reference.txt; fi @cd functions/_PDCLIB && for file in $(PATCHFILES1); do basfile=`basename $$file`; if [ -f $$basfile ]; then rm $$basfile; fi; done @cd functions/stdlib && for file in $(PATCHFILES2); do basfile=`basename $$file`; if [ -f $$basfile ]; then rm $$basfile; fi; done @cd functions/stdio && for file in $(PATCHFILES3); do basfile=`basename $$file`; if [ -f $$basfile ]; then rm $$basfile; fi; done