ifneq ($(KBUILD_EXTMOD),)

include $(obj)/Makefile.kernel26

else

all: wcte12xp.o

%.o: %.c
	$(CC) $(KFLAGS) -o $@ -c $<

base.o: ../zaptel.h ../wct4xxp/wct4xxp.h vpmadt032.h

vpmadt032.o: vpmadt032.h

wcte12xp.o: base.o vpmadt032.o GpakApi.o
	$(LD) -r -o $@ $^

clean:
	rm -rf *.o

endif
