Rockwell-automation 1747-PCINT API Software for 1746 I/O Manual de usuario Pagina 24

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 155
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 23
2–8 Using the API
Publication 1747-6.5.3 June 1998
!endif
#-------------------------------------------
# Compiler Options
#
# -W3 Turn on warnings
# -GB Optimize code for 80486/Pentium
# -MT Use Multithreaded runtime lib
#
#-------------------------------------------
CFLAGS = -W3 -GB -MT \
-I$(APIINC) -I$(CPATH)\include
#----------------------------------
# Linker Options
#
#----------------------------------
LFLAGS = /NODEFAULTLIB /SUBSYSTEM:CONSOLE \
/INCREMENTAL:NO /PDB:NONE
#------------------------------------
# Libraries
#
# libcmt Multithreaded C runtime
# kernel32 Base system lib
#
#------------------------------------
LIBS = libcmt.lib kernel32.lib
#---------------------------------
# Final target
#---------------------------------
sample.exe : sample.obj $(APILIB)
$(LINK) @<<
$(LDEBUG) $(LFLAGS) $(LIBS) $**
<<
@echo Finished
clean:
del *.exe
del *.obj
del *.map
rebuild:
$(MAKE) -f samplem.mak clean
$(MAKE) -f samplem.mak
#--------------------------
# Intermediate target rules
#--------------------------
.c.obj:
$(CC) @<<
/c $(CDEBUG) $(CFLAGS) $*.c
<<
#---------------------------------
# Intermediate target dependancies
#---------------------------------
sample.obj: sample.c $(APIINC)\ocapi.h
samplem.mak
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 154 155

Comentarios a estos manuales

Sin comentarios