- -@for file in $(ALLFILES); do grep -H FIXME $$file; done; true
-
-find:
- @find functions/ includes/ internals/ platform/ -name "*\.[ch]" -type f | xargs grep $$FIND
-
-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 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
-
-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
- @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