[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pre-post actions ?
From: |
Nadim Khemir |
Subject: |
pre-post actions ? |
Date: |
Mon, 17 Dec 2001 09:14:12 +0100 |
Hi, cons is fun to use! Not easy in the beginning but it does a great job
when it comes to advanced features.
I had more time to play with cons I like the Link and Repository functions.
I can get the repository to work fine if I use it from a Construc file. It
fetches the files (even .h) from the Rep. and all is fine.
Now, if I want to build the same directory from a higher lever construct,
the repositiory functionality doesn't work. I get "don't know how to buld
xxx.c" which is in the repository. What did I do wrong?
I am missing the possibility to hook on the build process. I lint my files
after they are compiled.
Is there an easy way to do a "pre-build" action or a "post-build" action,
something like:
$(DST)/%_arm.o : %.c
$(ECHO_COLOR) blue on_white ----- Compiling c $<
$(CC) $(RELEASE_FLAG) $(CFLAGS) -c $< -o $@
@$(LINT) -os\(${DST}/$<_lint.txt\) $(LINTFLAGS) $<
@perl /iris/rtos/bin/lint/lint_post.pl ${DST}/$<_lint.txt
The AfterBuild method is also a good idea.
Nadim.
- Cons not working as advertized and other remarks, Nadim Khemir, 2001/12/14
- Re: Cons not working as advertized and other remarks, Brad Garcia, 2001/12/14
- RE: Cons not working as advertized and other remarks and boddy new commers, Nadim Khemir, 2001/12/14
- RE: Cons not working as advertized and other remarks and boddy new commers, Steven Knight, 2001/12/14
- Evolution, Bob Sidebotham, 2001/12/14
- Re: Evolution, Gary Oberbrunner, 2001/12/14
- RE: Evolution, Charles Crain, 2001/12/14
- pre-post actions ?,
Nadim Khemir <=
- Re: pre-post actions ?, Steven Knight, 2001/12/17
- Re: pre-post actions ?, Gary Oberbrunner, 2001/12/17
- Re: Evolution, Brad Garcia, 2001/12/16
- RE: Evolution, Alex Jacques, 2001/12/17
- RE: Evolution, Siu-Tong Hui, 2001/12/17
RE: Cons not working as advertized and other remarks, Charles Crain, 2001/12/14