

# makefile

CC = g++
CFLAGS = -g #-fullwarn 

########################################

OBJS =   $(BASIC) 

BASIC =		\
basic_ad.o	\
basic_io.o 	\
basic_mat.o	\
basic_ran.o	\
basic_stat.o	\
basic_vec.o	\
basic_stack.o	#


#########################################################
#
#  REMEMBER: 
#  
#  - $@ is the target name (to be used in command lines)
#  - $$@ is the target name (to be used in dependency lines)
#  - :.o=.c means that a sostitution has to be done
#
##############################################################

######
Test_basic : Test_basic.c $(OBJS) *.h
	$(CC) $(CFLAGS)  -o $@  $@.c $(OBJS)  -lm 



##########
clean:
	rm *.o core
