summaryrefslogtreecommitdiffstats
path: root/arch/s390/tools/silo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/tools/silo/Makefile')
-rw-r--r--arch/s390/tools/silo/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/s390/tools/silo/Makefile b/arch/s390/tools/silo/Makefile
new file mode 100644
index 000000000..fb100e1b9
--- /dev/null
+++ b/arch/s390/tools/silo/Makefile
@@ -0,0 +1,15 @@
+all: silo
+
+silo.o: silo.c
+ $(CROSS_COMPILE)gcc -c -o silo.o -O2 silo.c
+
+cfg.o: cfg.c
+ $(CROSS_COMPILE)gcc -c -o cfg.o -O2 cfg.c
+
+silo: silo.o cfg.o
+ $(CROSS_COMPILE)gcc -o $@ $^
+ $(STRIP) $@
+
+clean:
+ rm -f *.o silo
+