Modified Makefile for adding target conditinal compiling