Skip to content

Commit

Permalink
Updated insight makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacShelton committed Aug 27, 2022
1 parent f1ecced commit 95d52dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/UTIL/__insight_Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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/*.*
Expand Down

0 comments on commit 95d52dd

Please sign in to comment.