Makefile 198 B

123456789101112131415
  1. CFLAGS = -g -Wall
  2. #CFLAGS = -O4 -Wall
  3. SRC = png2bdf.c
  4. OBJ = $(SRC:.c=.o)
  5. png2bdf: $(OBJ)
  6. $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o png2bdf -lpng
  7. clean:
  8. -rm $(OBJ) png2bdf
  9. test:
  10. ./png2bdf *.png