Lines 40-60
Link Here
|
40 |
|
40 |
|
41 |
all: $(progs) |
41 |
all: $(progs) |
42 |
|
42 |
|
43 |
installdirs: |
43 |
# installdirs: |
44 |
./mkinstalldirs $(i_bindir) $(i_mandir) |
44 |
# ./mkinstalldirs $(i_bindir) $(i_mandir) |
45 |
|
45 |
|
46 |
install_prog: $(progs) |
46 |
install_prog: $(progs) |
|
|
47 |
mkdir -p $(i_bindir) |
47 |
if test -f xspect; then \ |
48 |
if test -f xspect; then \ |
48 |
$(INSTALL_PROGRAM) -m 755 xspect $(i_bindir); fi |
49 |
$(INSTALL_PROGRAM) -m 755 xspect $(i_bindir); fi |
49 |
if test -f vgaspect; then \ |
50 |
if test -f vgaspect; then \ |
50 |
$(INSTALL_PROGRAM) -m 4755 vgaspect $(i_bindir); fi |
51 |
$(INSTALL_PROGRAM) -m 4755 vgaspect $(i_bindir); fi |
51 |
|
52 |
|
52 |
install_man: |
53 |
install_man: |
|
|
54 |
mkdir -p $(i_mandir) |
53 |
$(INSTALL_DATA) ./xspect.1 $(i_mandir) |
55 |
$(INSTALL_DATA) ./xspect.1 $(i_mandir) |
54 |
$(INSTALL_DATA) ./tapeout.1 $(i_mandir) |
56 |
$(INSTALL_DATA) ./tapeout.1 $(i_mandir) |
55 |
(cd $(i_mandir); rm -f vgaspect.1; ln -s xspect.1 vgaspect.1) |
57 |
(cd $(i_mandir); rm -f vgaspect.1; ln -s xspect.1 vgaspect.1) |
56 |
|
58 |
|
57 |
install: installdirs install_prog install_man |
59 |
install: install_prog install_man |
58 |
|
60 |
|
59 |
z80_c_objs=z80.o z80optab.o z80_step.o spperif.o spect.o rom48.o \ |
61 |
z80_c_objs=z80.o z80optab.o z80_step.o spperif.o spect.o rom48.o \ |
60 |
z80_op1.o z80_op2.o z80_op3.o z80_op4.o z80_op5.o z80_op6.o |
62 |
z80_op1.o z80_op2.o z80_op3.o z80_op4.o z80_op5.o z80_op6.o |