Added makefile for iocla1
This commit is contained in:
parent
4521ed9614
commit
a2d8c3e8fa
|
@ -0,0 +1,15 @@
|
|||
CFLAGS=-m32
|
||||
AFLAGS=-f elf
|
||||
|
||||
build: tema1
|
||||
|
||||
tema1: tema1.o includes/ASTUtils.o includes/macro.o
|
||||
gcc $^ -o $@ $(CFLAGS)
|
||||
|
||||
tema1.o: tema1.asm
|
||||
nasm $^ -o $@ $(AFLAGS)
|
||||
|
||||
clean:
|
||||
rm -rf tema1.o tema1
|
||||
test: build
|
||||
gdb tema1 -ex 'start'
|
Loading…
Reference in New Issue