aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/external/memboot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/external/memboot/Makefile')
-rw-r--r--roms/skiboot/external/memboot/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/roms/skiboot/external/memboot/Makefile b/roms/skiboot/external/memboot/Makefile
new file mode 100644
index 000000000..da17b32d9
--- /dev/null
+++ b/roms/skiboot/external/memboot/Makefile
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+all: memboot
+
+CFLAGS=-O2 -Wall
+
+memboot: memboot.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+.PHONY: clean
+clean:
+ rm -rf memboot
+
+.PHONY: distclean
+distclean: clean
+ rm -rf *.c~ *.h~ *.i *.s Makefile~