mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-21 10:32:08 +00:00
10 lines
321 B
Makefile
10 lines
321 B
Makefile
gccopts=-Wno-format-extra-args
|
|
incfiles=$(addprefix src/,common.c files.c label.c asm.c parse.c vars.c expr.c cond.c stmnt.c dclrtn.c include.c)
|
|
mainfile=src/c02.c
|
|
outfile=c02
|
|
c02: ${incfiles} ${mainfile}
|
|
gcc ${gccopts} ${incfiles} ${mainfile} -o ${outfile}
|
|
gcc ${gccopts} a02.h a02.c -o a02
|
|
clean:
|
|
rm ${outfile} a02
|