From c40f400f6ab879e08d54de753aabc987fd6ba07a Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Tue, 5 Mar 2024 18:46:44 -0500 Subject: Added a simple shell, jsh --- src/cmd/dice/makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 src/cmd/dice/makefile (limited to 'src/cmd/dice/makefile') diff --git a/src/cmd/dice/makefile b/src/cmd/dice/makefile old mode 100644 new mode 100755 index 5c0e384..2acc850 --- a/src/cmd/dice/makefile +++ b/src/cmd/dice/makefile @@ -1,10 +1,12 @@ -all: dice +CFLAGS=-Wall -Werror + +build: dice @cp dice $(PROROOT)/build/bin/dice dice: dice.c - $(CC) -o dice dice.c + $(CC) $(CFLAGS) -o dice dice.c clean: @rm -r dice -.PHONY: all clean \ No newline at end of file +.PHONY: build clean -- cgit v1.2.3