commit 530bd259bb0b82accda4cebd0c9e9943a1829a17 parent 519c2d0ac5a3abcc18bcd8dca1c352129e9c146c Author: lostd <lostd@2f30.org> Date: Fri, 7 Nov 2014 18:02:40 +0200 Change variable name NAME to BIN Diffstat:
M | Makefile | | | 16 | ++++++++-------- |
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile @@ -6,27 +6,27 @@ LDFLAGS = -L/usr/local/lib LDLIBS = -lm -lncursesw -lfftw3 OBJ = nausea.o -NAME = nausea +BIN = nausea -all: $(NAME) +all: $(BIN) -$(NAME): $(OBJ) +$(BIN): $(OBJ) $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LDLIBS) nausea.o: config.h install: all install -d $(DESTDIR)$(PREFIX)/bin - install $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME) + install $(BIN) $(DESTDIR)$(PREFIX)/bin/$(BIN) install -d $(DESTDIR)$(MANPREFIX)/man1 - install $(NAME).1 $(DESTDIR)$(MANPREFIX)/man1 + install $(BIN).1 $(DESTDIR)$(MANPREFIX)/man1 uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/$(NAME) - rm -f $(DESTDIR)$(MANPREFIX)/man1/$(NAME).1 + rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) + rm -f $(DESTDIR)$(MANPREFIX)/man1/$(BIN).1 clean: - rm -f $(NAME) $(OBJ) + rm -f $(BIN) $(OBJ) .SUFFIXES: .def.h