u8g2-copy/sys/linux-fb/hello_world/Makefile

13 lines
242 B
Makefile

CFLAGS = -g -Wall -I../../../csrc/.
SRC = $(shell ls ../../../csrc/*.c) $(shell ls ../common/u8x8_d_framebuffer.c ) main.c
OBJ = $(SRC:.c=.o)
hello_world: $(OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o $@
clean:
-rm -f $(OBJ) hello_world