hi.. I was reading through a Makefile and found this section from the Makefile..
ALL = prog1 prog2 prog3 prog4 prog5 LOCK_DIR = /var/lock/test ECHO = /bin/echo BIN_DIR = /home/bin TMP_FILE = /home/temp/tmp.file JOB = start $(ALL) : $(SUBSYS_FILE_DIR)/$@ ### What does the above line do?? ### I know that $@ refers to the current program being made. @$(ECHO) "Begin \"$(JOB) [EMAIL PROTECTED]" > $(TMP_FILE) ### I suppose this line prints "Begin start of a program each time a program is started ?? @$(BIN_DIR)/$@ $(JOB) >> $(TMP_FILE) 2>&1 ### I guess here the actual starting of job takes place @$(ECHO) "End \"$(JOB) [EMAIL PROTECTED]" >> $(TMP_FILE) ### prints "End stop of a progarm " ?? prog1 : prog2 prog3 prog3 : prog4 prog4 prog5 : prog4 prog1 Thnks haynes ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
