Debian Codegraph @

testsuite/systemtap.context/makefile1

raw
1 # Build both the modules using a single makefile.
2 # This helps module1 to see symbols exported by module2.
3 obj-m := systemtap_test_module1.o systemtap_test_module2.o
4 KDIR := /lib/modules/$(shell uname -r)/build
5 PWD := $(shell pwd)
6 default:
7 $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) KBUILD_EXTMOD=$(PWD) modules
8 clean:
9 rm -f *.mod.c systemtap_test_module1.ko *.o .*.cmd Modules.symvers
10 rm -rf .tmp_versions