# Makefile for GemPC 410 serial reader

CC = gcc
CFLAGS = -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g #-DDEBUG
OBJ	= apdubuil.o apduspli.o debug.o gserial.o gtgbp.o gttimout.o \
	ifdhandler.o or32gem.o or3confi.o or3gbpcl.o or3gbpco.o \
	or3gbpop.o or3icc.o \
	or3utils.o t0case1.o t0case2.o t0case3.o t0case4.o


all: libgp_core.so

clean:
	rm -f *.o *.so 

libgp_core.so: $(OBJ)
	$(CC) -shared $(OBJ) -o libgp_core.so

dep:
	makedepend *.c

ctags:
	ctags-exuberant *h *c

