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.
 
 
 
 
 

26 rivejä
565 B

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