summaryrefslogtreecommitdiff
path: root/pause/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pause/Makefile')
-rw-r--r--pause/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/pause/Makefile b/pause/Makefile
new file mode 100644
index 000000000..f0951af72
--- /dev/null
+++ b/pause/Makefile
@@ -0,0 +1,13 @@
+src = $(wildcard *.c)
+obj = $(src:.c=.o)
+
+override LIBS +=
+override CFLAGS += -std=c99 -Os -Wall -Wextra -static
+
+pause: $(obj)
+ $(CC) -o ../bin/$@ $^ $(CFLAGS) $(LIBS)
+ strip ../bin/$@
+
+.PHONY: clean
+clean:
+ rm -f $(obj) ../bin/pause