F diff --git a/makefile b/makefile --- a/makefile +++ b/makefile- wonky: ast.o chonky.o chonky_jr.o denoted.o lexer.o location.o map.o parse_declaration.o parse_expression.o parse_statement.o parse_translation_unit.o preprocessing.o print.o program.o queue.o scope.o semantics.o stack.o type.o main.o- gcc -g *.o -o wonky+ .PHONY: run clean clear debug rm rn+ objects = ast.o chonky.o chonky_jr.o denoted.o lexer.o location.o map.o parse_declaration.o parse_expression.o parse_statement.o parse_translation_unit.o preprocessing.o print.o program.o queue.o scope.o semantics.o stack.o type.o main.o+ CC=gcc+ CFLAGS="-g"+ wonky: ${objects}+ ${CC} ${CFLAGS} *.o -o wonkyrun: wonky./wonkymain.o: main.c- gcc -c main.c -o main.o+ ${CC} ${CFLAGS} -c main.c -o main.oast.o: ast.c ast.h- gcc -c ast.c -o ast.o+ ${CC} ${CFLAGS} -c ast.c -o ast.ochonky.o: chonky.c- gcc -c chonky.c -o chonky.o+ ${CC} ${CFLAGS} -c chonky.c -o chonky.ochonky_jr.o: chonky_jr.c- gcc -c chonky_jr.c -o chonky_jr.o+ ${CC} ${CFLAGS} -c chonky_jr.c -o chonky_jr.odenoted.o: denoted.c denoted.h- gcc -c denoted.c -o denoted.o+ ${CC} ${CFLAGS} -c denoted.c -o denoted.olexer.o: lexer.c lexer.h- gcc -c lexer.c -o lexer.o+ ${CC} ${CFLAGS} -c lexer.c -o lexer.olocation.o: location.c location.h- gcc -c location.c -o location.o+ ${CC} ${CFLAGS} -c location.c -o location.oparse_declaration.o: parse_declaration.c parse_declaration.h- gcc -c parse_declaration.c -o parse_declaration.o+ ${CC} ${CFLAGS} -c parse_declaration.c -o parse_declaration.oparse_expression.o: parse_expression.c parse_expression.h- gcc -c parse_expression.c -o parse_expression.o+ ${CC} ${CFLAGS} -c parse_expression.c -o parse_expression.oparse_statement.o: parse_statement.c parse_statement.h- gcc -c parse_statement.c -o parse_statement.o+ ${CC} ${CFLAGS} -c parse_statement.c -o parse_statement.oparse_translation_unit.o: parse_translation_unit.c parse_translation_unit.h- gcc -c parse_translation_unit.c -o parse_translation_unit.o+ ${CC} ${CFLAGS} -c parse_translation_unit.c -o parse_translation_unit.opreprocessing.o: preprocessing.c preprocessing.h- gcc -c preprocessing.c -o preprocessing.o+ ${CC} ${CFLAGS} -c preprocessing.c -o preprocessing.oprint.o: print.c print.h- gcc -c print.c -o print.o+ ${CC} ${CFLAGS} -c print.c -o print.oprogram.o: program.c program.h- gcc -c program.c -o program.o+ ${CC} ${CFLAGS} -c program.c -o program.oscope.o: scope.c scope.h- gcc -c scope.c -o scope.o+ ${CC} ${CFLAGS} -c scope.c -o scope.osemantics.o: semantics.c semantics.h- gcc -c semantics.c -o semantics.o+ ${CC} ${CFLAGS} -c semantics.c -o semantics.otest2.o: test2.c test2.h- gcc -c test2.c -o test2.o+ ${CC} ${CFLAGS} -c test2.c -o test2.otest.o: test.c test.h- gcc -c test.c -o test.o+ ${CC} ${CFLAGS} -c test.c -o test.otype.o: type.c type.h- gcc -c type.c -o type.o+ ${CC} ${CFLAGS} -c type.c -o type.omap.o: map.c map.h- gcc -c map.c -o map.o+ ${CC} ${CFLAGS} -c map.c -o map.oqueue.o: queue.c queue.h- gcc -c queue.c -o queue.o+ ${CC} ${CFLAGS} -c queue.c -o queue.ostack.o: stack.c stack.h- gcc -c stack.c -o stack.o-+ ${CC} ${CFLAGS} -c stack.c -o stack.o+ clean: clearclear:rm wonky -f &rm ./*.temp -f &rm ./*.o -f &rm ./*.out -f- debug:- gcc -g main.c- gdbtui a.out+ debug: wonky+ gdbtui wonkyrm: runrn: run