summaryrefslogtreecommitdiff
path: root/src/cmd/echo/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/echo/makefile
parente32262d86c90e2ac73b2c38a47a1bb6b60935098 (diff)
Added a simple shell, jsh
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