blob: eece6e4458f470dda32d134ba821f6f674c72463 (
plain)
1
2
3
4
5
6
7
8
9
10
|
all:
cd ../ && yasm -f elf ./tmp/test2.s -o ./tmp/test2.o && \
cc -lc ./tmp/test2.o -o ./tmp/test2
run: all
./test2
clean:
for i in test2.o test2; do \
if [ -f $$i ]; then rm $$i; fi; \
done
|