diff options
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 18 | ||||
-rw-r--r-- | mklint.c (renamed from makelint.c) | 0 |
3 files changed, 10 insertions, 10 deletions
@@ -12,4 +12,4 @@ *.gcov *.gcno *.gcda -/makelint +/mklint @@ -4,34 +4,34 @@ CONFIGFILE = config.mk include $(CONFIGFILE) OBJ =\ - makelint.o\ + mklint.o\ ui.o HDR =\ common.h -all: makelint +all: mklint $(OBJ): $(HDR) .c.o: $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) -makelint: $(OBJ) +mklint: $(OBJ) $(CC) -o $@ $(OBJ) $(LDFLAGS) -install: makelint +install: mklint mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1/" - cp -- makelint "$(DESTDIR)$(PREFIX)/bin/" - cp -- makelint.1 "$(DESTDIR)$(MANPREFIX)/man1/" + cp -- mklint "$(DESTDIR)$(PREFIX)/bin/" + cp -- mklint.1 "$(DESTDIR)$(MANPREFIX)/man1/" uninstall: - -rm -f -- "$(DESTDIR)$(PREFIX)/bin/makelint" - -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/makelint.1" + -rm -f -- "$(DESTDIR)$(PREFIX)/bin/mklint" + -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/mklint.1" clean: -rm -f -- *.o *.a *.lo *.su *.so *.so.* *.gch *.gcov *.gcno *.gcda - -rm -f -- makelint + -rm -f -- mklint .SUFFIXES: .SUFFIXES: .o .c |