comparison Makefile @ 78:8b89201970f6

cp -> install
author szabii
date Sun, 11 Mar 2001 00:43:40 +0000
parents 4d38b16372ae
children 7c67c52142ed
comparison
equal deleted inserted replaced
77:9bbba5880f70 78:8b89201970f6
2 # Some cleanup by LGB: * 'make -C dir' instead of 'cd dir;make;cd..' 2 # Some cleanup by LGB: * 'make -C dir' instead of 'cd dir;make;cd..'
3 # * for loops instead of linear sequence of make directories 3 # * for loops instead of linear sequence of make directories
4 # * some minor problems with make clean and distclean were corrected 4 # * some minor problems with make clean and distclean were corrected
5 5
6 include config.mak 6 include config.mak
7
8 #install...
9 OWNER = root
10 GROUP = root
11 PERM = 755
7 12
8 PRG = mplayer 13 PRG = mplayer
9 PRG_AVIP = aviparse 14 PRG_AVIP = aviparse
10 PRG_TV = tvision 15 PRG_TV = tvision
11 prefix = /usr/local 16 prefix = /usr/local
58 63
59 $(PRG_TV): .depend tvision.o $(OBJS) $(COMMONLIBS) 64 $(PRG_TV): .depend tvision.o $(OBJS) $(COMMONLIBS)
60 $(CC) $(CFLAGS) -o $(PRG_TV) tvision.o $(OBJS) -lm $(TERMCAP_LIB) $(VO_LIBS) 65 $(CC) $(CFLAGS) -o $(PRG_TV) tvision.o $(OBJS) -lm $(TERMCAP_LIB) $(VO_LIBS)
61 66
62 install: $(PRG) 67 install: $(PRG)
63 strip $(PRG) 68 install -g $(GROUP) -o $(OWNER) -m $(PERM) -s $(PRG) $(BINDIR)
64 cp $(PRG) $(BINDIR)
65 install -D -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1 69 install -D -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
66 70
67 clean: 71 clean:
68 rm -f *.o *~ $(OBJS) 72 rm -f *.o *~ $(OBJS)
69 73