ADC 400F Manuál Strana 73

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 74
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 72
Chapter 5. Complete program listings.
USERLDFLAGS=
#
# Append your objects to the definitions below:
#
OBJECTS=MySpecTclApp.o MyEventProcessor.o
#
# Finally the makefile targets.
#
SpecTcl: $(OBJECTS)
$(CXXLD) -o SpecTcl $(OBJECTS) $(USERLDFLAGS) \
$(LDFLAGS)
clean:
rm -f $(OBJECTS) SpecTcl
depend:
makedepend $(USERCXXFLAGS) *.cpp *.c
help:
echo "make - Build customized SpecTcl"
echo "make clean - Remove objects from previous builds"
echo "make depend - Add dependencies to the Makefile. "
Example 5-10. startspectcl
#!/bin/bash
. /etc/profile # co:profile
. ~/.bashrc
cd ~/experiment/spectcl # co:cd
./SpecTcl <setup.tcl # co:spectclstart
Example 5-11. SpecTcl Setup file setup.tcl
source myspectra.tcl; # co:definitions
sbind -all; # co:bind
.gui.b update; # co:treeupdate
68
Zobrazit stránku 72
1 2 ... 68 69 70 71 72 73 74

Komentáře k této Příručce

Žádné komentáře