You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
FTDI_kernel_space_gpio_driver/Makefile.helper

16 lines
240 B

OBJS = ftdi_daemon.o
DEFINES := -DDEBUG
CFLAGS = $(DEFINES)
LDFLAGS = -lftdi
usbgpiod: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
%.o: %.c
$(CC) $(CFLAGS) -Wa,-a=$*.list -c -o $@ $<
clean:
rm -rf $(OBJS) usbgpiod
rm -rf *.list *~