makefile: add install and uninstall targets
This commit is contained in:
parent
ed32c8fa1d
commit
02145edffc
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: main test clean
|
.PHONY: main test install uninstall clean
|
||||||
|
|
||||||
OBJS = syllable.o utf8.o transliteration.o iast.o iast-czech.o
|
OBJS = syllable.o utf8.o transliteration.o iast.o iast-czech.o
|
||||||
|
|
||||||
|
@ -12,5 +12,11 @@ test: iast
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) -MMD -MP -c $< -o $@
|
$(CC) -MMD -MP -c $< -o $@
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -m 0755 iast /usr/bin
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f /usr/bin/iast
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) iast *.o *.d
|
$(RM) iast *.o *.d
|
||||||
|
|
Loading…
Add table
Reference in a new issue