u8g2-copy/tools/png2bin/Makefile

15 lines
198 B
Makefile

CFLAGS = -g -Wall
#CFLAGS = -O4 -Wall
SRC = png2bin.c
OBJ = $(SRC:.c=.o)
png2bin: $(OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o png2bin -lpng
clean:
-rm $(OBJ) png2bin
test:
./png2bin *.png