initial import
[staff/goc4/2018bti7061.git] / asm-5-programming / examples / eatsyscall / makefile
1 all: eatsyscall eatsyscall64
2
3 clean:
4 rm *.o
5
6 eatsyscall: eatsyscall.o
7 ld -o eatsyscall eatsyscall.o
8 eatsyscall.o: eatsyscall.asm
9 nasm -f elf64 -g -F dwarf eatsyscall.asm
10
11
12 eatsyscall64: eatsyscall64.o
13 ld -o eatsyscall64 eatsyscall64.o
14 eatsyscall64.o: eatsyscall64.asm
15 nasm -f elf64 -g -F dwarf eatsyscall64.asm
16