summaryrefslogtreecommitdiff
path: root/kernel/wcte12xp/Makefile
blob: fb0fbc532af9f1630097fe437ad3226629f677ad (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.9 .
# 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