summaryrefslogtreecommitdiff
path: root/src/cmd/echo/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/echo/makefile')
-rwxr-xr-x[-rw-r--r--]src/cmd/echo/makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cmd/echo/makefile b/src/cmd/echo/makefile
index 0301f23..59f976f 100644..100755
--- a/src/cmd/echo/makefile
+++ b/src/cmd/echo/makefile
@@ -1,10 +1,12 @@
-all: echo
+CFLAGS=-Wall -Werror
+
+build: echo
@cp echo $(PROROOT)/build/bin/echo
echo: echo.c
- $(CC) -o echo echo.c
+ $(CC) $(CFLAGS) -o echo echo.c
clean:
@rm -r echo
-
-.PHONY: all clean \ No newline at end of file
+
+.PHONY: build clean