###########################################################
# Makefile.in for PC/SC Schlumberger Reflex 72 Driver
# Author: David Corcoran
# License: See file docs/LICENSE
# URL: http://www.linuxnet.com
##########################################################

CC      = gcc
OBJ     = ifdhandler.o
CURRDIR = .
INCLUDES= -I. -Iinclude
LD      = ld
all: lib

clean: 
	rm -f test *.o *.lo *.so

lib:  $(OBJ)
	$(LD) -G ifdhandler.o lib/libctapi.a -o libslb_rf72.so

ifdhandler.o: ifdhandler.h ifdhandler.c
	$(CC) $(CFLAGS) -c ifdhandler.c $(INCLUDES)
