Supports "make install"

This commit is contained in:
Pierre Pronchery 2009-09-30 16:12:26 +00:00
parent 678e17e974
commit 22fc562deb
2 changed files with 4 additions and 0 deletions

View File

@ -33,7 +33,10 @@ distclean: clean
$(RM) $(TARGETS) $(RM) $(TARGETS)
install: all install: all
$(MKDIR) $(DESTDIR)$(BINDIR)
$(INSTALL) -m 0755 framer $(DESTDIR)$(BINDIR)/framer
uninstall: uninstall:
$(RM) $(DESTDIR)$(BINDIR)/framer
.PHONY: all clean distclean install uninstall .PHONY: all clean distclean install uninstall

View File

@ -10,3 +10,4 @@ dist=Makefile
[framer] [framer]
type=binary type=binary
sources=main.c sources=main.c
install=$(BINDIR)