all: test_tweets test_tweet test_twittero twitter

twitter: tweets.o twitter.o tweet.o twittero.o twitteros.o
	gcc -o twitter tweets.o twitter.o tweet.o twittero.o twitteros.o
	
twitter.o: main.c
	gcc -o twitter.o -c -Wall -g main.c

test_twittero: tweets.o test_twittero.o tweet.o twittero.o
	gcc -o test_twittero tweets.o test_twittero.o tweet.o twittero.o

test_tweets: tweets.o test_tweets.o tweet.o twittero.o
	gcc -o test_tweets tweets.o test_tweets.o tweet.o twittero.o

test_tweet: tweet.o test_tweet.o twittero.o tweets.o
	gcc -o test_tweet tweet.o test_tweet.o twittero.o tweets.o
	
test_twittero.o: test_twittero.c
	gcc -c -Wall -g test_twittero.c
	
test_tweets.o: test_tweets.c
	gcc -c -Wall -g test_tweets.c
	
test_tweet.o: test_tweet.c
	gcc -c -Wall -g test_tweet.c
	
twitteros.o: twitteros.c twitteros.h
	gcc -c -Wall -g twitteros.c
	
twittero.o: twittero.c twittero.h
	gcc -c -Wall -g twittero.c
	
tweet.o: tweet.c tweet.h 
	gcc -c -Wall -g tweet.c

tweets.o: tweets.c tweets.h 
	gcc -c -Wall -g tweets.c
	
clean:
	rm -rf *.o
