make projectbuilder use m4

couzteau

Registered
make projectbuilder use m4

how can i tell Projectbuilder how to handle a m4 file.

the idea ist to generate a lex file with m4 in order to compile the resulting scanner.c/h files with gcc.

here is my makefile rule:

scanner.l: scanner.l.m4
scanner.l.m4 > scanner.l
m4 < scanner.l.m4 > scanner.l

do i need a build style or a new target.? i'm quite new to ProjectBuilder and i haven't really understood how things work together in detail. i also didn't fid the documentation very helpful. it seems to general, there is no index and it's not searchable.

thanx

couzteau
 
Back
Top