drivers/can_anagate_linux/Makefile
changeset 658 7758d60e9260
parent 494 aa36efce6e78
child 790 1936110171a2
equal deleted inserted replaced
657:c0e68a63f600 658:7758d60e9260
    47 
    47 
    48 all: driver
    48 all: driver
    49 
    49 
    50 driver: $(DRIVER)
    50 driver: $(DRIVER)
    51 
    51 
    52 %o: %c
    52 %.o: %.c
    53 	$(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $<
    53 	$(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $<
    54 
    54 
    55 libcanfestival_$(CAN_DRIVER).so: $(OBJS)
    55 libcanfestival_$(CAN_DRIVER).so: $(OBJS)
    56 	$(CC) -shared -Wl,-soname,libcanfestival_$(CAN_DRIVER).so $(CAN_DLL_CFLAGS) -o $@ $<
    56 	$(CC) -shared -Wl,-soname,libcanfestival_$(CAN_DRIVER).so $(CAN_DLL_CFLAGS) -o $@ $<
    57 
    57