You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 rivejä
545 B

  1. CC = gcc
  2. BIN = /usr/bin
  3. INCLUDES = -I.
  4. CFLAGS = -O3 -g -Wall -Wextra -Wno-missing-field-initializers $(INCLUDES)
  5. OBJS = src/main.o src/image.o src/dsp.o src/filter.o src/reg.o src/pngio.o src/median.o src/color.o
  6. aptdec: $(OBJS)
  7. $(CC) -o $@ $(OBJS) -lm -lsndfile -lpng
  8. reg.o: src/reg.c
  9. color.o: src/color.c
  10. main.o: src/main.c
  11. media.o: src/median.c
  12. dsp.o: src/dsp.c
  13. filter.o: src/filter.c
  14. image.o: src/image.c
  15. pngio.o: src/pngio.c
  16. clean:
  17. rm -f src/*.o aptdec
  18. install:
  19. install -m 755 aptdec $(BIN)
  20. uninstall:
  21. rm $(BIN)/aptdec