Advertisement
aachyee

Test eval and exec timing of Makefile.

Aug 23rd, 2022 (edited)
2,742
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.40 KB | Source Code | 0 0
  1. T1=$(shell date)
  2. D1=$(shell sleep 1)
  3. T2=$(shell date)
  4. D2=$(shell sleep 1)
  5. T3:=$(shell date)
  6. D3=$(shell sleep 1)
  7. all:
  8.         @date
  9.         @sleep 1
  10.         @date
  11.         @sleep 1
  12.         @echo $(shell date)
  13.         $(shell sleep 1)
  14.         @echo $(shell date)
  15.         @sleep 1
  16.         @echo "T1: $(T1)"
  17.         @sleep 1
  18.         @echo "T2: $(T2)"
  19.         @sleep 1
  20.         @echo "T3: $(T3)"
Tags: Makfile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement