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