Makefile 251 B

123456789101112131415
  1. CFLAGS = -g -Wall
  2. #CFLAGS = -O4 -Wall
  3. SRC = bdf2u8g.c
  4. OBJ = $(SRC:.c=.o)
  5. bdf2u8g: $(OBJ)
  6. $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o bdf2u8g.exe
  7. clean:
  8. -rm $(OBJ) bdf2u8g.exe
  9. test:
  10. ./bdf2u8g.exe -f 2 ../bdf/9x18.bdf u8g_aafont_9x18 u8g_aafont_9x18.c