aboutsummaryrefslogblamecommitdiffstats
blob: d1d442ed106aa057b5bcc0ff63afa1b27f5c80cc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                             
all: test mod
test: virtio_test
virtio_test: virtio_ring.o virtio_test.o
CFLAGS += -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow  -MMD
vpath %.c ../../drivers/virtio
mod:
	${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test
.PHONY: all test mod clean
clean:
	${RM} *.o vhost_test/*.o vhost_test/.*.cmd \
              vhost_test/Module.symvers vhost_test/modules.order *.d
-include *.d