2021-01-07 18:40:08 -05:00
|
|
|
FILES = *.c */*.c
|
2021-01-04 15:00:48 -05:00
|
|
|
LIBRARIES = -lpthread
|
2021-01-05 11:00:23 -05:00
|
|
|
INCLUDES = -I. -I./parser/ -I./compiler/ -I./vm/ -I./tokenizer/ -I./misc/ -I./assembler/
|
2021-01-07 18:40:08 -05:00
|
|
|
CFLAGS = -std=c99 -Wall -O3
|
2021-01-04 15:00:48 -05:00
|
|
|
OUTFILE = jackc
|
|
|
|
|
|
|
|
main: ${FILES}
|
|
|
|
${CC} ${CFLAGS} ${LIBRARIES} ${INCLUDES} -o ${OUTFILE} ${FILES}
|