소스 검색

Simplify autoreload backend selection in Makefile

master
Bert Münnich 7 년 전
부모
커밋
8aaa5c9398
1개의 변경된 파일5개의 추가작업 그리고 8개의 파일을 삭제
  1. +5
    -8
      Makefile

+ 5
- 8
Makefile 파일 보기

@@ -21,16 +21,13 @@ ifndef NO_LIBEXIF
LIBS += -lexif
endif

.PHONY: clean install uninstall
# select autoreload backend
# overwritten with `make AUTORELOAD=nop`
AUTORELOAD := inotify

SRC := commands.c image.c main.c options.c thumbs.c util.c window.c
# conditionally compile in autoreload-backend; usage: `make AUTORELOAD=nop`
ifeq ($(AUTORELOAD),nop)
SRC += autoreload_nop.c
else
SRC += autoreload_inotify.c
endif
.PHONY: clean install uninstall

SRC := autoreload_$(AUTORELOAD).c commands.c image.c main.c options.c thumbs.c util.c window.c
DEP := $(SRC:.c=.d)
OBJ := $(SRC:.c=.o)



불러오는 중...
취소
저장