MiaoUI/examples/STM32F103C8T6/lib/u8g2/sys/linux-i2c/128x32-oled/Makefile

14 lines
256 B
Makefile
Raw Normal View History

2024-11-11 15:52:12 +00:00
CFLAGS = -g -Wall -I../../../csrc/. -I../common/.
SRC = $(shell ls ../../../csrc/*.c) $(shell ls ../common/*.c) main.c
OBJ = $(SRC:.c=.o)
helloworld: $(OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -li2c -o helloworld
clean:
-rm -f $(OBJ) helloworld