From 95d52dd50fc91185928f5ca2ab96478d5f5506d1 Mon Sep 17 00:00:00 2001 From: IsaacShelton Date: Sat, 27 Aug 2022 16:58:43 -0500 Subject: [PATCH] Updated insight makefile --- src/UTIL/__insight_Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/UTIL/__insight_Makefile b/src/UTIL/__insight_Makefile index 7ae46961..ba36e886 100644 --- a/src/UTIL/__insight_Makefile +++ b/src/UTIL/__insight_Makefile @@ -4,7 +4,7 @@ AR=emar SRCDIR=src OBJDIR=obj -C_SOURCES=$(wildcard $(SRCDIR)/AST/*.c) $(wildcard $(SRCDIR)/AST/EXPR/*.c) $(wildcard $(SRCDIR)/AST/TYPE/*.c) $(wildcard $(SRCDIR)/AST/UTIL/*.c) $(wildcard $(SRCDIR)/BRIDGE/*.c) $(wildcard $(SRCDIR)/DRVR/*.c) $(wildcard $(SRCDIR)/LEX/*.c) $(wildcard $(SRCDIR)/PARSE/*.c) $(wildcard $(SRCDIR)/TOKEN/*.c) $(wildcard $(SRCDIR)/UTIL/*.c) +C_SOURCES=$(wildcard $(SRCDIR)/AST/*.c) $(wildcard $(SRCDIR)/AST/EXPR/*.c) $(wildcard $(SRCDIR)/AST/POLY/*.c) $(wildcard $(SRCDIR)/AST/TYPE/*.c) $(wildcard $(SRCDIR)/AST/UTIL/*.c) $(wildcard $(SRCDIR)/BRIDGE/*.c) $(wildcard $(SRCDIR)/DRVR/*.c) $(wildcard $(SRCDIR)/LEX/*.c) $(wildcard $(SRCDIR)/PARSE/*.c) $(wildcard $(SRCDIR)/TOKEN/*.c) $(wildcard $(SRCDIR)/UTIL/*.c) C_OBJECTS=$(C_SOURCES:$(SRCDIR)/%.c=$(OBJDIR)/%.o) INSIGHT=../../obj/insight.a CFLAGS=-c -Wall -I"include" -O3 -DADEPT_INSIGHT_BUILD # -fmax-errors=5 -Werror @@ -22,6 +22,7 @@ directories: @if not exist obj mkdir obj @if not exist obj\AST mkdir obj\AST @if not exist obj\AST\EXPR mkdir obj\AST\EXPR + @if not exist obj\AST\POLY mkdir obj\AST\POLY @if not exist obj\AST\TYPE mkdir obj\AST\TYPE @if not exist obj\AST\UTIL mkdir obj\AST\UTIL @if not exist obj\BRIDGE mkdir obj\BRIDGE @@ -35,6 +36,7 @@ directories: @mkdir -p obj @mkdir -p obj/AST @mkdir -p obj/AST/EXPR + @mkdir -p obj/AST/POLY @mkdir -p obj/AST/TYPE @mkdir -p obj/AST/UTIL @mkdir -p obj/BRIDGE @@ -50,6 +52,7 @@ ifeq ($(OS), Windows_NT) if exist $(INSIGHT) del $(INSIGHT) /Q del obj\AST\*.* /Q del obj\AST\EXPR\*.* /Q + del obj\AST\POLY\*.* /Q del obj\AST\TYPE\*.* /Q del obj\AST\UTIL\*.* /Q del obj\BRIDGE\*.* /Q @@ -62,6 +65,7 @@ else rm -f 2> /dev/null $(INSIGHT) rm -f 2> /dev/null obj/AST/*.* rm -f 2> /dev/null obj/AST/EXPR/*.* + rm -f 2> /dev/null obj/AST/POLY/*.* rm -f 2> /dev/null obj/AST/TYPE/*.* rm -f 2> /dev/null obj/AST/UTIL/*.* rm -f 2> /dev/null obj/BRIDGE/*.*