clean : 
	rm -f *.o
	rm -f test_pile_tab
	rm -f test_file_tab

elem.o : elem.h elem.c
	gcc -c elem.c -o elem.o
	
pile_tab.o : pile_tab.h elem.h pile_tab.c 
	gcc -c pile_tab.c -o pile_tab.o

test_pile_tab : elem.o pile_tab.o test_pile_tab.c
	gcc test_pile_tab.c pile_tab.o elem.o -o test_pile_tab
	
file_tab.o : file_tab.h elem.h file_tab.c 
	gcc -c file_tab.c -o file_tab.o

test_file_tab : elem.o file_tab.o test_file_tab.c
	gcc test_file_tab.c file_tab.o elem.o -o test_file_tab

