linux-arm-demo/driver/board_driver/01-led/makefile
2025-12-11 20:42:59 +08:00

16 lines
178 B
Makefile

CC = arm-linux-gnueabihf-gcc
CFLAG = -c -nostdlib
LDFLAGS = -nostdlib
led:led.o
$(CC) $(LDFLAGS) led.o -o led
led.o:led.s
$(CC) $(CFLAG) led.s -o led.o
clean:
rm -f *.o