/8SMC1-USBhF/usmcdrv/Makefile |
---|
12,7 → 12,8 |
$(TARGET)-objs := usmcpkt.o usmcdrv-driver.o |
default: |
make -C $(KDIR) SUBDIRS=$(PWD) modules |
# make -C $(KDIR) SUBDIRS=$(PWD) modules |
make -C $(KDIR) M=$(shell pwd) modules |
$(TARGET).o: $(OBJS) |
$(LD) $(LD_RFLAG) -r -o $@ $(OBJS) |
28,4 → 29,4 |
clean: |
-rm -f *.o *.ko .*.cmd .*.flags *.mod.c |
-include $(KDIR)/Rules.make |
-include $(KDIR)/Rules.make |