25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- CC = gcc
- BIN = /usr/bin
- INCLUDES = -I.
- CFLAGS = -O3 -g -Wall -Wextra -Wno-missing-field-initializers $(INCLUDES)
- 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
-
- aptdec: $(OBJS)
- $(CC) -o $@ $(OBJS) -lm -lsndfile -lpng
-
- reg.o: src/reg.c
- color.o: src/color.c
- main.o: src/main.c
- media.o: src/median.c
- dsp.o: src/dsp.c
- filter.o: src/filter.c
- image.o: src/image.c
- pngio.o: src/pngio.c
-
- clean:
- rm -f src/*.o aptdec
-
- install:
- install -m 755 aptdec $(BIN)
-
- uninstall:
- rm $(BIN)/aptdec
|