| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| New Member | makefile question I'm trying to find a way to get rid of the hardcoded subdirectories in this: albums/aaa/index.html : songs/aaa/*.xml albums/bbb/index.html : songs/bbb/*.xml albums/ccc/index.html : songs/ccc/*.xml etc. Is there a way to do this? I tried: albums/*/index.html : songs/${subst albums/,,$$(@D)}/*.xml However, the subst function evaluates to blank. It seems like the $$(@D) cannot be used within a function in the prerequisites list. Any ideas? Thanks! Travis |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |