find:
@find functions/ includes/ internals/ platform/ -name "*\.[ch]" -type f | xargs grep $$FIND
links:
@echo "Linking platform/$(PLATFORM)..."
find:
@find functions/ includes/ internals/ platform/ -name "*\.[ch]" -type f | xargs grep $$FIND
links:
@echo "Linking platform/$(PLATFORM)..."
@for file in $$(find platform/$(PLATFORM) -mindepth 2 -type f ! -path *.svn* -printf "%P\n"); do ln -s $$(dirname $$file | sed "s@[^/]*@..@g")/platform/$(PLATFORM)/$$file $$file; done
unlink:
@echo "Unlinking platform files..."
@for dir in $(PROJDIRS); do find $$dir -type l -exec rm {} +; done
@for file in $$(find platform/$(PLATFORM) -mindepth 2 -type f ! -path *.svn* -printf "%P\n"); do ln -s $$(dirname $$file | sed "s@[^/]*@..@g")/platform/$(PLATFORM)/$$file $$file; done
unlink:
@echo "Unlinking platform files..."
@for dir in $(PROJDIRS); do find $$dir -type l -exec rm {} +; done