CC      = gcc
AR	= ar
CFLAGS  = -g -O2 -Wno-attributes $(COPTIONS)
ARFLAGS = -rcs
INCLUDE = $(patsubst %,-I%,$(subst :, ,$(PCBAC_INCLUDE)))
OBJECTS = 	ice_support.o			
OUTPUT  = libice_support.a


.SILENT:
spm_support : $(OBJECTS)
	echo "			[AR] " $(OBJECTS)
	$(AR) $(ARFLAGS) $(OUTPUT) $(OBJECTS)
	echo "			[RESULT] $(OUTPUT)"

%.o : %.c
	echo "			[CC] " $<
	$(CC) $(CFLAGS) $(INCLUDE) -c $<

scrub:
	echo "			[  ] Nothing to do"

configure:	
	echo "			[  ] Nothing to do"

install:
	echo "			[  ] Nothing to do"

uninstall: 
	echo "			[  ] Nothing to do"

clean:
	echo "			[RM]" $(OBJECTS) $(OUTPUT)
	rm -f $(OBJECTS)
	rm -f $(OUTPUT)

