blob: b92d0d045c845e3a2b6a026ef591e789a2a1d828 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
ifneq ($(KBUILD_EXTMOD),)
# We only get here on kernels 2.6.0-2.6.8 .
# For newer kernels, Kbuild will be included directly by the kernel
# build system.
include $(src)/Kbuild
else
# building for 2.4 kernels means no VPM support, so none of the VPM support
# modules are included in the Makefile rules
all: wcte12xp.o
%.o: %.c
$(CC) $(KFLAGS) -o $@ -c $<
base.o: ../zaptel.h
wcte12xp.o: base.o
$(LD) -r -o $@ $^
clean:
rm -f *.o
endif
|