summaryrefslogtreecommitdiff
path: root/src/intersim2/Makefile
diff options
context:
space:
mode:
authorAhmad Alawneh <[email protected]>2023-07-06 01:18:20 -0400
committerGitHub <[email protected]>2023-07-06 01:18:20 -0400
commita42b72214b92b6a97f16c180ad09631cbe50da33 (patch)
tree61bba4462fde2ba21e00a166a952edd1087b9ca9 /src/intersim2/Makefile
parent58beccb510bb892de56b466ac764f24297affebd (diff)
parent1ce9febc61ab0e50c01ceea424cbf3e12a149366 (diff)
Merge pull request #59 from LAhmos/all_warn
Diffstat (limited to 'src/intersim2/Makefile')
-rw-r--r--src/intersim2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intersim2/Makefile b/src/intersim2/Makefile
index 3eeeb70..dad436a 100644
--- a/src/intersim2/Makefile
+++ b/src/intersim2/Makefile
@@ -136,10 +136,10 @@ depend:
makedepend -f$(OBJDIR)/Makefile.makedepend -I$(INCPATH) -p$(OBJDIR)/ $(ALL_SRCS) 2> /dev/null
${LEX_OBJS}: $(OBJDIR)/lex.yy.c $(OBJDIR)/y.tab.h
- $(CC) $(CPPFLAGS) -c $< -o $@
+ $(CC) -Wno-unused-function $(CPPFLAGS) -c $< -o $@
${YACC_OBJS}: $(OBJDIR)/y.tab.c $(OBJDIR)/y.tab.h
- $(CC) $(CPPFLAGS) -c $< -o $@
+ $(CC) -Wno-unused-function $(CPPFLAGS) -c $< -o $@
${OBJDIR}/%.o: %.cpp
$(CXX) $(CPPFLAGS) -c $< -o $@