Friday, November 7, 2014

makefile

This was my first makefile experience!!!
Wow, this was cool. Project, called breezy is my course project of server-client application. I create the asyncronious server storage API with shared memory.

objects = main_test.o storage.o tree.o breezy : $(objects) gcc -g storage.o tree.o main_test.o -o breezy storage.o : server_storage/storage.c server_storage/storage.h gcc -c -g server_storage/storage.c tree.o : tree/tree.c tree/tree.h gcc -c -g tree/tree.c main_test.o : main_test.c tree/tree.h server_storage/storage.h gcc -c -g main_test.c clean : rm *.o




Thumbs up!

No comments:

Post a Comment