fix for '$(CC) src.c -c' case, add default output file