diff --git a/Makefile b/Makefile index 82f34e4..df189d1 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -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} -clean: - rm ${outfile} +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} +clean: + rm ${outfile}