Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- no_abs: asm.o main.c
- gcc -c -m32 -std=c11 main.c -o main.o
- gcc -m32 main.o asm.o -o runme
- use_abs: asm.o main.c
- gcc -c -m32 -std=c11 main.c -o main.o -DUSE_ABS
- gcc -m32 main.o asm.o -o runme
- asm.o: asm.asm
- nasm -f elf32 asm.asm -o asm.o
- .PHONY: clean use_abs no_abs
- clean:
- rm -f main.o asm.o runme
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement