Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 26

Advertising
background image

2–10

Using the API

Publication 1747-6.5.3 June 1998

|

clean:
del *.exe
del *.obj
del *.map
del *.lib

rebuild:
$(MAKE) -f sampleb.mak clean
$(MAKE) -f sampleb.mak

.c.obj:
$(CC) $(CFLAGS) $*.c

#----------------------------------------------
# Create a Borland-compatible import library
#----------------------------------------------
$(APILIB): $(APIDLL)
implib $(APILIB) $(APIDLL)

sample.obj: sample.c $(APIINC)\ocapi.h sampleb.mak

Advertising
This manual is related to the following products: