Advertisement
Guest User

Untitled

a guest
Apr 10th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.27 KB | None | 0 0
  1. all: loadelf
  2.  
  3. clean:
  4.     rm loadelf.o asm.o loadelf
  5.  
  6. loadelf: loadelf.o asm.o
  7.     clang loadelf.o asm.o -o loadelf
  8.  
  9. loadelf.o: loadelf.c asm_externs.h
  10.     clang -c loadelf.c -o loadelf.o
  11.  
  12. asm.o: asm.S
  13.     nasm -f elf64 asm.S -o asm.o
  14.  
  15. asm_externs.h: asm.S
  16.     ./gen_asm_externs.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement