#
# Makefile for ExpMemory
#
# $Id: Makefile,v 1.10 2004/10/29 23:53:15 graziano Exp $
#

# include common variables
include ../../Makedefs

OBJS	=	$(buildobjdir)/memory.o \
		$(buildobjdir)/active_memory.o \
		$(buildobjdir)/passive_memory.o

.PHONY: all dist clean install

all: $(OBJS)

clean:
	@${RM} -f $(OBJS)

dist:
	@$(INSTALL) -d $(DIST_ROOT)/Sensor/ExpMemory
	@$(CP) Makefile *.c *.h $(DIST_ROOT)/Sensor/ExpMemory

install:

#lib: $(OBJECTS)
#	$(AR) cr $(LIBRARY) $(OBJECTS)

# Compilation rules for C.
$(buildobjdir)/%.o : %.c $(buildincdir)/*.h
	$(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@

