Re: [PHP] exec('make') Q

2007-01-23 Thread Richard Lynch
On Mon, January 22, 2007 5:45 pm, [EMAIL PROTECTED] wrote: > Here's a simple makefile I want PHP's exec to execute make on: > > KEYLIST := keylist.txt > DEPS := $(wildcard *.txt) > FILES := *.txt > > $(KEYLIST): $(DEPS) > grep ^keywords $(FILES) > $@ > > now when I use make from command line, it wo

Re: [PHP] exec('make') Q

2007-01-23 Thread james
Roman, On 23/1/2007, "Roman Neuhauser" <[EMAIL PROTECTED]> wrote: >> KEYLIST := keylist.txt >> DEPS := $(wildcard *.txt) >> FILES := *.txt >> >> $(KEYLIST): $(DEPS) >> grep ^keywords $(FILES) > $@ > >Why is it so roundabout about $(DEPS)/$(FILES)? The target *actuall* >depends on different files

Re: [PHP] exec('make') Q

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 23:45:09 +: > Here's a simple makefile I want PHP's exec to execute make on: > > KEYLIST := keylist.txt > DEPS := $(wildcard *.txt) > FILES := *.txt > > $(KEYLIST): $(DEPS) > grep ^keywords $(FILES) > $@ Does that line in the real Makefile begin with a tab? I