From 58df8abff6e362ab632c4be8ae6775a59b6770da Mon Sep 17 00:00:00 2001 From: theo <2022xmm3@kuas.ac.jp> Date: Wed, 12 Oct 2022 16:36:19 +0900 Subject: [PATCH] Adding flags for HOMEBREW and update of the gitignore --- .gitignore | 6 ++++++ Makefile | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1bc2fa7..5b45798 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,9 @@ tests-c/*.otags tests-c/*.tags tests-c/*.expected +*/*.out + +ccmeta +ccmeta.c + +.vscode/ diff --git a/Makefile b/Makefile index e034dbf..1064f7e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CFLAGS = -I/opt/local/include -std=gnu99 -Wall -Wno-unused-label -Wno-unused-function -g -LDLIBS = -L/opt/local/lib -lgc -lm +CFLAGS = -I/opt/local/include -I/opt/homebrew/include -std=gnu99 -Wall -Wno-unused-label -Wno-unused-function -g +LDLIBS = -L/opt/local/lib -L/opt/homebrew/lib -lgc -lm TREE = -t MAIN = ccmeta @@ -39,6 +39,7 @@ $(MAIN) : $(MAIN).c object.c buffer.h clean : .FORCE rm -f $(MAIN) $(MAIN).c rm -f *~ $(MAIN)-output.out + rm -rf */*.out tidy : .FORCE rm -f *~ $(MAIN)-tree.out