aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/tinyware/msh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'release/picobsd/tinyware/msh/Makefile')
-rw-r--r--release/picobsd/tinyware/msh/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/release/picobsd/tinyware/msh/Makefile b/release/picobsd/tinyware/msh/Makefile
new file mode 100644
index 000000000000..26137d56068a
--- /dev/null
+++ b/release/picobsd/tinyware/msh/Makefile
@@ -0,0 +1,16 @@
+# Makefile for sh
+
+CFLAGS = -O2 #-D_POSIX_SOURCE
+LDFLAGS = -static
+
+OBJ = sh1.o sh2.o sh3.o sh4.o sh5.o sh6.o
+
+all: sh
+
+sh: $(OBJ)
+ cc $(LDFLAGS) -o $@ $(OBJ)
+
+$(OBJ): sh.h
+
+clean:
+ rm -f sh *.o *.bak core