Advertisement
Guest User

Untitled

a guest
Mar 9th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.17 KB | None | 0 0
  1. RUN_FIRST := $(shell echo hello > file.c)
  2.  
  3. file: file.o
  4.     cat $< > $@
  5.  
  6. # file.o: file.c    <- If I change to this it works
  7. %.o: %.c
  8.     cat $< > $@
  9.  
  10. clean:
  11.     rm file*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement