OBJECTS = Scanner.o ScannerState.o Parser.o Node.o Symbol.o StructDeclNode.o TypeRefNode.o FunctionDeclNode.o VarDeclNode.o TopNode.o main.o TypeAliasDefNode.o backend/Builtin.o Namespace.o Slot.o ELFFile.o ELFSection.o CallNode.o Calculator.o LiteralNode.o IntLiteralNode.o BuiltinFunctionNode.o TypeNode.o BuiltinTypeNode.o known_symbols.o strdup_printf.o ConversionNode.o BlockNode.o StatementNode.o IfNode.o WhileNode.o PtrLiteralNode.o ArrayLiteralNode.o StrLiteralNode.o ReturnStatementNode.o ConsNode.o backend/Segment.o backend/TextSegment.o backend/ObjectGenerator.o backend/ELFWriter.o backend/DataSegment.o backend/StringSegment.o backend/SymbolSegment.o backend/X86/CodeGenerator.o Formatter.o CFLAGS += -funsigned-char -g3 -Wall -Werror -Ibackend -I. all: dc dc: $(OBJECTS) $(CC) -o dc $(OBJECTS) $(LFLAGS) Scanner.o: Scanner.c Scanner.h ScannerState.h Scanner_p.h Symbol.h ScannerState.o: ScannerState.c ScannerState.h Parser.o: Parser.c Parser.h Scanner_p.h Symbol.h Scanner.h StorageFlags.h StructDeclNode.h TypeRefNode.h FunctionDeclNode.h TopNode.h TypeAliasDefNode.h parse_expr.c CallNode.h Node_p.h Parser_p.h backend/Builtin.h Namespace.h Calculator.h IntLiteralNode.h known_symbols.h TypeNode.h ConversionNode.h BlockNode.h StatementNode.h IfNode.h WhileNode.h PtrLiteralNode.h known_symbols.h StrLiteralNode.h ReturnStatementNode.h Node.o: Node.c Node.h Node_p.h Symbol.h TopNode.o: TopNode.c TopNode.h TopNode_p.h Node_p.h Node.h known_symbols.h Slot.h Slot_p.h BlockNode.h BlockNode_p.h Formatter.h Symbol.o: Symbol.c Symbol_p.h StructDeclNode.o: StructDeclNode.c StructDeclNode.h StructDeclNode_p.h Node_p.h Node.h TypeNode_p.h TypeNode.h Symbol.h TypeAliasDefNode.o: TypeAliasDefNode.c TypeAliasDefNode.h TypeAliasDefNode_p.h TypeNode_p.h TypeNode.h known_symbols.h strdup_printf.h Symbol.h Node.h Node_p.h TypeRefNode.o: TypeRefNode.c TypeRefNode.h TypeRefNode_p.h Node_p.h Node.h StorageFlags.h TypeNode.h known_symbols.h strdup_printf.h Symbol.h Namespace.h Namespace_p.h FunctionDeclNode.o: FunctionDeclNode.c FunctionDeclNode.h FunctionDeclNode_p.h Node.h Node_p.h Symbol.h StorageFlags.h TypeNode_p.h TypeNode.h strdup_printf.h VarDeclNode.h VarDeclNode.o: VarDeclNode.c VarDeclNode.h VarDeclNode_p.h Node.h Node_p.h Symbol.h strdup_printf.h StorageFlags.h Formatter.h known_symbols.h FunctionDeclNode.h TypeRefNode.h main.o: main.c Parser.h Node.h backend/Builtin.h known_symbols.h backend/ObjectGenerator.h backend/Builtin.o: backend/Builtin.c backend/Builtin.h Symbol.h FunctionDeclNode.h Namespace.h BuiltinFunctionNode.h IntLiteralNode.h Node.h BuiltinTypeNode.h Calculator.h known_symbols.h TypeRefNode.h BlockNode.h IfNode.h Namespace.o: Namespace.c Namespace.h Namespace_p.h Slot_p.h Slot.h Node_p.h Symbol.h strdup_printf.h Slot.o: Slot.c Slot.h Slot_p.h ELFFile.o: ELFFile.c ELFFile.h ELFFile_p.h ELFSection_p.h ELFSection.h ELFSection.o: ELFSection.c ELFSection.h CallNode.o: CallNode.c CallNode.h CallNode_p.h Node.h Node_p.h known_symbols.h strdup_printf.h ConsNode.h Parser.h FunctionDeclNode.h StrLiteralNode.h Symbol.h Calculator.o: Calculator.c Calculator.h Calculator_p.h Node.h Symbol.h IntLiteralNode.h known_symbols.h CallNode.h FunctionDeclNode.h PtrLiteralNode.h LiteralNode.o: LiteralNode.c LiteralNode.h Node.h Node_p.h LiteralNode_p.h Symbol.h IntLiteralNode.o: IntLiteralNode.c IntLiteralNode.h LiteralNode.h LiteralNode_p.h Node.h Node_p.h IntLiteralNode_p.h Symbol.h known_symbols.h StrLiteralNode.o: StrLiteralNode.c StrLiteralNode.h LiteralNode.h LiteralNode_p.h Node.h Node_p.h StrLiteralNode_p.h Symbol.h known_symbols.h ArrayLiteralNode.o: ArrayLiteralNode.c ArrayLiteralNode.h LiteralNode.h LiteralNode_p.h Node.h Node_p.h ArrayLiteralNode_p.h Symbol.h known_symbols.h PtrLiteralNode.o: PtrLiteralNode.c PtrLiteralNode.h LiteralNode.h LiteralNode_p.h Node.h Node_p.h PtrLiteralNode_p.h Symbol.h known_symbols.h BuiltinFunctionNode.o: BuiltinFunctionNode.c BuiltinFunctionNode.h BuiltinFunctionNode_p.h Node_p.h FunctionDeclNode.h FunctionDeclNode_p.h Symbol.h TypeNode.o: TypeNode.c TypeNode.h TypeNode_p.h Node_p.h Node.h Symbol.h strdup_printf.h BuiltinTypeNode.o: BuiltinTypeNode.c BuiltinTypeNode.h BuiltinTypeNode_p.h TypeNode.h TypeNode_p.h Node_p.h Node.h Symbol.h known_symbols.o: known_symbols.c known_symbols.h Symbol.h strdup_printf.o: strdup_printf.c strdup_printf.h ConversionNode.o: ConversionNode.c ConversionNode.h ConversionNode_p.h Symbol.h known_symbols.h Node.h Node_p.h strdup_printf.h BlockNode.o: BlockNode.c BlockNode.h BlockNode_p.h Node_p.h Node.h Symbol.h StatementNode_p.h strdup_printf.h known_symbols.h StatementNode.h ConsNode.h VarDeclNode.h Formatter.h FunctionDeclNode.h StatementNode.o: StatementNode.c StatementNode.h StatementNode_p.h Node_p.h Node.h Symbol.h strdup_printf.h known_symbols.h IfNode.o: IfNode.c IfNode.h IfNode_p.h Node.h Node_p.h Symbol.h strdup_printf.h known_symbols.h StatementNode.h StatementNode_p.h WhileNode.o: WhileNode.c WhileNode.h WhileNode_p.h StatementNode.h StatementNode_p.h Node_p.h Node.h Symbol.h strdup_printf.h known_symbols.h Formatter.h ConsNode.o: ConsNode.c ConsNode.h ConsNode_p.h strdup_printf.h Symbol.h Node_p.h Node.h known_symbols.h backend/Segment.o: backend/Segment.c backend/Segment.h backend/Segment_p.h backend/TextSegment.o: backend/TextSegment.c backend/TextSegment.h backend/TextSegment_p.h backend/Segment.h backend/Segment_p.h backend/DataSegment.o: backend/DataSegment.c backend/DataSegment.h backend/DataSegment_p.h backend/Segment.h backend/Segment_p.h backend/StringSegment.o: backend/StringSegment.c backend/StringSegment.h backend/StringSegment_p.h backend/Segment.h backend/Segment_p.h Symbol.h TopNode.h backend/SymbolSegment.o: backend/SymbolSegment.c backend/SymbolSegment.h backend/SymbolSegment_p.h backend/Segment.h backend/Segment_p.h Symbol.h TopNode.h backend/ObjectGenerator.o: backend/ObjectGenerator.c backend/ObjectGenerator.h backend/ObjectGenerator_p.h backend/Segment.h backend/TextSegment.h backend/DataSegment.h backend/Segment_p.h strdup_printf.h backend/ELFWriter.h Node.h VarDeclNode.h TypeRefNode.h TopNode.h BlockNode.h backend/ELFWriter.o: backend/ELFWriter.c backend/ELFWriter.h backend/ELFWriter_p.h Symbol.h backend/Segment.h backend/StringSegment.h backend/X86/CodeGenerator.o: backend/X86/CodeGenerator.c backend/X86/CodeGenerator.h backend/X86/CodeGenerator_p.h Symbol.h backend/Segment.h Formatter.o: Formatter.c Formatter.h strdup_printf.h Node.h known_symbols.h clean: rm -f *.o