1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-21 10:32:08 +00:00
C02/Makefile

10 lines
321 B
Makefile
Raw Permalink Normal View History

2018-03-03 19:34:04 +00:00
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}
2019-11-15 19:30:43 +00:00
gcc ${gccopts} a02.h a02.c -o a02
2018-03-03 19:34:04 +00:00
clean:
2019-11-15 19:30:43 +00:00
rm ${outfile} a02