| Michael S. Tsirkin | 4e53f78 | 2010-11-29 19:16:37 +0200 | [diff] [blame] | 1 | all: test mod |
| 2 | test: virtio_test | ||||
| 3 | virtio_test: virtio_ring.o virtio_test.o | ||||
| 4 | CFLAGS += -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -MMD | ||||
| 5 | vpath %.c ../../drivers/virtio | ||||
| 6 | mod: | ||||
| 7 | ${MAKE} -C `pwd`/../.. M=`pwd`/vhost_test | ||||
| 8 | .PHONY: all test mod clean | ||||
| 9 | clean: | ||||
| 10 | ${RM} *.o vhost_test/*.o vhost_test/.*.cmd \ | ||||
| 11 | vhost_test/Module.symvers vhost_test/modules.order *.d | ||||
| 12 | -include *.d | ||||