ADC 400F Manual Pagina 73

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 74
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 72
1 2 ... 68 69 70 71 72 73 74

Comentarios a estos manuales

Sin comentarios