summaryrefslogtreecommitdiff
path: root/src/cmd/dice/makefile
diff options
context:
space:
mode:
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