2020-12-22 13:51:56 -05:00
|
|
|
FILES = *.c */*.c
|
2020-12-29 19:27:48 -05:00
|
|
|
LIBRARIES = -lpthread
|
|
|
|
INCLUDES = -I. -I./parser/ -I./compiler/ -I./vm/ -I./tokenizer/
|
2020-11-30 16:44:22 -05:00
|
|
|
CFLAGS = -std=c99 -g
|
2020-12-22 13:51:56 -05:00
|
|
|
OUTFILE = jack-compiler
|
2020-11-30 16:44:22 -05:00
|
|
|
|
|
|
|
main: ${FILES}
|
2020-12-29 19:27:48 -05:00
|
|
|
${CC} ${CFLAGS} ${LIBRARIES} ${INCLUDES} -o ${OUTFILE} ${FILES}
|