diff --git a/Chapter 11/makefile b/Chapter 11/makefile index cf36905..bcff346 100644 --- a/Chapter 11/makefile +++ b/Chapter 11/makefile @@ -6,13 +6,10 @@ DEBUGFLGS = endif LSTFLGS = -LDFLAGS = -lSystem -lc -e main -arch arm64 +LDFLAGS = -lc -e main -arch arm64 all: divexamp mulexamp matrixmult -%.o : %.s - as $(DEBUGFLGS) $(LSTFLGS) $< -o $@ - divexamp: divexamp.s debug.s clang $(LDFLAGS) -o divexamp divexamp.s @@ -22,4 +19,5 @@ mulexamp: mulexamp.s debug.s matrixmult: matrixmult.s clang $(LDFLAGS) -g -o matrixmult matrixmult.s - +clean: + rm -rf divexamp matrixmult mulexamp \ No newline at end of file