9 lines
235 B
Makefile
9 lines
235 B
Makefile
|
FILES = *.c */*.c
|
||
|
LIBRARIES = -lpthread
|
||
|
INCLUDES = -I. -I./parser/ -I./compiler/ -I./vm/ -I./tokenizer/ -I./misc/
|
||
|
CFLAGS = -std=c99 -Wall
|
||
|
OUTFILE = jackc
|
||
|
|
||
|
main: ${FILES}
|
||
|
${CC} ${CFLAGS} ${LIBRARIES} ${INCLUDES} -o ${OUTFILE} ${FILES}
|