# Makefile for Todos Argos Mini # Linux Serial Driver # Implementation CC = gcc -DCPU_ICAP_PC=1 LD = ld OBJS = serial.o ifdhandler.o ctapi.o AdmHndlr.o T1Hndlr.o LIBN = libslb_rf60.so all: lib test clean: rm -f *.o *.so test lib: $(OBJS) $(LD) -shared $(OBJS) -o $(LIBN) test: test.c $(OBJS) ifdhandler.o: ifdhandler.h ifdhandler.c T1Hndlr.o: T1Hndlr.h T1Hndlr.c AdmHndlr.o: AdmHndlr.h AdmHndlr.c ctapi.o: ctapi.h ctapi.c scio.o: serial.h serial.c