summaryrefslogtreecommitdiff
path: root/src/cmd/dice/makefile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-03-05 18:46:44 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-03-05 18:46:44 -0500
commitc40f400f6ab879e08d54de753aabc987fd6ba07a (patch)
tree295f95070362d14d987638b558ad6bb1ba2415e2 /src/cmd/dice/makefile
parente32262d86c90e2ac73b2c38a47a1bb6b60935098 (diff)
Added a simple shell, jsh
Diffstat (limited to 'src/cmd/dice/makefile')
-rwxr-xr-x[-rw-r--r--]src/cmd/dice/makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cmd/dice/makefile b/src/cmd/dice/makefile
index 5c0e384..2acc850 100644..100755
--- 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