xref: /openbmc/linux/samples/acrn/Makefile (revision 5b06931d)
1*5b06931dSShuo Liu# SPDX-License-Identifier: GPL-2.0
2*5b06931dSShuo Liu
3*5b06931dSShuo Liu.PHONY: vm-sample
4*5b06931dSShuo Liu
5*5b06931dSShuo Liuvm-sample: vm-sample.o payload.o
6*5b06931dSShuo Liu	$(CC) $^ -o $@
7*5b06931dSShuo Liu
8*5b06931dSShuo Liupayload.o: payload.ld guest16.o
9*5b06931dSShuo Liu	$(LD) -T $< -o $@
10*5b06931dSShuo Liu
11*5b06931dSShuo Liuclean:
12*5b06931dSShuo Liu	rm *.o vm-sample
13