Makefile variables

Tasos Laskos tasos.laskos at gmail.com
Sun Jan 27 22:04:02 EET 2008


Kalispera sti lista,

Palevo edo kai arketi ora me ena Makefile.
Antiprosopeytiko deigma tou provlimatos einai to akolou8o:
-------------------------------------------
STAMP:= `date +%Y_%m_%d-%H_%M_%S----%N`
DATESTAMP:= $(STAMP)

all:
        @echo $(DATESTAMP)
        @echo $(DATESTAMP)
-------------------------------------------

Opos katalavate 8elo to DATESTAMP na min allazei.

Na kano `date +%Y_%m_%d-%H_%M_%S----%N > /tmp/datestamp` kai meta `cat 
/tmp/datestamp`
den einai eparkes sti periptosi mou.

Kamia idea?

Regards,
Tasos L.




More information about the Linux-greek-users mailing list