Fixed Makefile
This commit is contained in:
parent
c17a016fb4
commit
6349fe7d90
1 changed files with 8 additions and 9 deletions
17
Makefile
17
Makefile
|
@ -6,19 +6,18 @@ OPTIMIZE = -O2
|
|||
all: passgen
|
||||
|
||||
passgen: Makefile passgen.c
|
||||
$(CC) -o $@ $(WARNINGS) $(DEBUG) $(OPTIMIZE) passgen.c
|
||||
$(CC) -o $@ $(WARNINGS) $(DEBUG) $(OPTIMIZE) passgen.c
|
||||
|
||||
clean:
|
||||
rm -f passgen
|
||||
rm -f passgen
|
||||
|
||||
install:
|
||||
install -Dm755 passgen $(DESTDIR)$(PREFIX)/bin/passgen
|
||||
install -Dm644 passgen.1 $(DESTDIR)$(PREFIX)/share/man/man1/passgen.1
|
||||
install: all
|
||||
install -Dm755 passgen $(DESTDIR)$(PREFIX)/bin/passgen
|
||||
install -Dm644 passgen.1 $(DESTDIR)$(PREFIX)/share/man/man1/passgen.1
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/passgen
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/passgen.1
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/passgen
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/passgen.1
|
||||
|
||||
run:
|
||||
./passgen
|
||||
|
||||
./passgen
|
||||
|
|
Loading…
Reference in a new issue