Rockwell-automation 1747-PCIS API Software - Open Controller Instrukcja Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 174
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 29
Publication 1747-UM002A-US-P - June 2000
2-8 Using the API
#---------------------------------
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
Sample Windows NT MAKE file for Borland compilers
The following sample file shows how to use a Borland MAKE file. The
bold headings indicate the statements you need to modify for your
environment.
#************************************************************************
#
# Title: Makefile for Open Controller API Sample
#
# Abstract:
# This file is used by the Borland MAKE utility to build the
# sample application.
#
# Environment:
# 1747-OCE Open Controller
# Microsoft Windows NT 4.0
# Borland C++ Compiler
#
# (c)Copyright Allen-Bradley
#
#************************************************************************
#----------------------------------------------
# Paths to Tools
#
# Note: Modify the following paths to
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 173 174

Komentarze do niniejszej Instrukcji

Brak uwag