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.
 
 
 
 
 

24 line
485 B

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