diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index fccc821..0000000 --- a/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -BIN=ddhardrescue -CFLAGS=-Iinc -Wall -Werror -Wfatal-errors -g -pg -LIBS=-lpanel -lncurses -lpthread - -#FIXME : liste des dépendances = tous les .c trouvés. C'est nul. - -all: $(BIN) -$(BIN): bin/$(BIN) - -bin/$(BIN): obj/$(BIN).o $(patsubst src/%.c,obj/%.o,$(wildcard src/*.c)) - gcc -o $@ $^ $(CFLAGS) $(LIBS) - -obj/%.o: - gcc -c -o $@ $< $(CFLAGS) - -deps/%.d: src/%.c - gcc -MM -o $@ $< $(CFLAGS) -MG -MT $(patsubst src/%.c,obj/%.o,$<) - -Makefile src/%.c inc/%.h: ; - -.PHONY: clean - -clean: - -rm -f obj/*.o deps/*.d bin/$(BIN) - -cont: - while true; do clear; date; LANG=C make; echo "make returns '$$?'";\ - inotifywait -e modify -r . --exclude '(~$$|\.swp$$)' 2>/dev/null; done - -include $(patsubst src/%.c,deps/%.d,$(wildcard src/*.c)) - |