#
# Makefile for ExpCPU
#
# $Id: Makefile,v 1.8 2004/10/29 23:53:14 graziano Exp $
#

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

# what we are building here
OBJS	 =	$(buildobjdir)/activeCpu.o \
		$(buildobjdir)/hybridCpu.o \
		$(buildobjdir)/passiveCpu.o \
		$(buildobjdir)/profiler.o \
		$(buildobjdir)/spinner.o

.PHONY: all clean dist install

all: $(OBJS)

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

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

# only objects: nothing to install
install:


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

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

